rlayerPAP now passed R CMD CHECK