R/zzz.R

Defines functions .onAttach

# The machine information is taken from the rstan startup message.
.onAttach <- function(...) {
  packageStartupMessage(
    "* The rater package uses `Stan` to fit bayesian models.\n",
    "* If you are working on a local, multicore CPU with excess RAM please call:\n",
    "* options(mc.cores = parallel::detectCores())\n",
    "* This will allow Stan to run inference on multiple cores in parallel."
  )
}

Try the rater package in your browser

Any scripts or data that you put into this service are public.

rater documentation built on Sept. 12, 2023, 1:13 a.m.