R/zzz.R

Defines functions .onUnload .onLoad

.onLoad <- function(libname, pkgname) {
  .openblaspthreadoff(getLoadedDLLs()[["RcppPlanc"]][[4]])
  return(invisible(NULL))
}

.onUnload <- function(libpath) {
  .openblaspthreadon(getLoadedDLLs()[["RcppPlanc"]][[4]])
  library.dynam.unload("RcppPlanc", libpath)
  return(invisible(NULL))
}

Try the RcppPlanc package in your browser

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

RcppPlanc documentation built on Feb. 26, 2026, 5:07 p.m.