1
## covr: skip=all
2
.onUnload <- function(libpath) {
3
  # Force finalize() on HttpDaemon objects
4 0
  base::gc()
5
}
6

7
.onLoad <- function(libname, pkgname) {
8 0
  .registerVignetteEngines(pkgname)
9

10 0
  ns <- getNamespace(pkgname)
11 0
  pkg <- RRspPackage(pkgname)
12 0
  assign(pkgname, pkg, envir=ns)
13
}
14

15
.onAttach <- function(libname, pkgname) {
16 1
  startupMessage(get(pkgname, envir=getNamespace(pkgname)))
17
}

Read our documentation on viewing source code .

Loading