R/onLoad.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  # scrm should always be available
  activate_scrm()

  # Silently create the simulators for which a binary is available
  suppressMessages({
    tryCatch(activate_ms(), error = function(e) {}) #nolint
    tryCatch(activate_msms(), error = function(e) {}) #nolint
    tryCatch(activate_seqgen(), error = function(e) {}) #nolint
  })

  invisible(NULL)
}

Try the coala package in your browser

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

coala documentation built on Jan. 5, 2023, 5:11 p.m.