[R]: fix a bug in pmin and pmax.
[R]: fix a bug in pmin and pmax.

icoming/FlashX,flashxio/FlashX,flashxio/FlashX,flashxio/FlashX,icoming/FlashX,flashxio/FlashX,flashxio/FlashX,icoming/FlashX,flashxio/FlashX,icoming/FlashX,icoming/FlashX