R/setup.R

Defines functions .onAttach

.onAttach <- function(libname, pkgname) {
  found <- cpp_found_openmp()
  if (!found) {
    packageStartupMessage("Cound not find OpenMP.")
  } else {
    packageStartupMessage("OpenMP detected, parallel computations will be performed.")
  }
}

Try the cppSim package in your browser

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

cppSim documentation built on Sept. 9, 2025, 5:50 p.m.