aaaCranMonolix2rxThreads: Set the number of threads to 2 for CRAN checks

View source: R/aaaCranMonolix2rxThreads.R

aaaCranMonolix2rxThreadsR Documentation

Set the number of threads to 2 for CRAN checks

Description

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()

Details

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

Value

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

Author(s)

Matthew L. Fidler

Examples


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


monolix2rx documentation built on Nov. 7, 2026, 1:07 a.m.