R/zzzz.R

Defines functions .onLoad

.rxode2parseVersion <- utils::packageVersion("rxode2parse")
.onLoad <- function(libname, pkgname) {
  if (!identical(.rxode2parseVersion, utils::packageVersion("rxode2parse"))) {
    stop("rxode2random compiled with rxode2parse '", as.character(.rxode2parseVersion),
         "' but rxode2parse '", as.character(utils::packageVersion("rxode2parse")),
         "' is loaded\nRecompile rxode2 with the this version of rxode2parse",
         call. = FALSE
         )
  } else {
    requireNamespace("rxode2parse", quietly=TRUE)
  }
}

Try the rxode2random package in your browser

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

rxode2random documentation built on May 29, 2024, 7:30 a.m.