When you send your package on CRAN, there are multiple options set
before running the checks. Here we use the CRAN settings and way of
managing incoming packages used for Linux in this function
Scripts and options used are directly issued from the GitHub mirror
repository of the CRAN machines: https://github.com/r-devel/r-dev-web/tree/master/CRAN/.
check_as_cran() should run on any OS, it will run
CRAN parameters originally set up for Linux machines.
check_output directory, you will get the same
outputs, in the same format as used by CRAN, for the pre-test of