Skip to contents

CRAN requires packages to use at most 2 threads. Its example file sorts first, so the limit holds for every example that follows. It is not intended for general use.

Usage

aaaCranMonolix2rxThreads()

Value

nothing, called for the side effect of limiting the threads to 2 for CRAN checks

Details

When testing with devtools::test() or testthat::test_package(), NOT_CRAN is "true", so the number of threads is not limited.

Author

Matthew L. Fidler

Examples


# Set the number of threads to 2 for CRAN checks
aaaCranMonolix2rxThreads()