R/zzz.R

Defines functions .onUnLoad .onLoad

setClass("rose",
         slots = c(rho="matrix",
                        cyclVar="numeric",
                        circle="numeric"))

setValidity("rose", val.rose)

setMethod("plot", signature(x = "rose",y = "missing"), plot.rose)

.onLoad <- function(libname, pkgname){
  library.dynam("IDPmisc", package=pkgname, lib.loc=libname)
}

.onUnLoad <- function(libpath){
  library.dynam.unload("IDPmisc",libpath=libpath)
}

Try the IDPmisc package in your browser

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

IDPmisc documentation built on May 29, 2024, 2:48 a.m.