R/zzz.R

Defines functions .onAttach

# holding place for things we want to keep around but not visible
.pkgenv <- new.env(parent=emptyenv())

.onAttach <- function(...) {

  # read in the suffixes using V8
  ct <- v8()
  assign("ct", ct, envir=.pkgenv)

  ct$source(system.file("js/pluralize.js", package="pluralize"))

}

Try the pluralize package in your browser

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

pluralize documentation built on July 8, 2020, 7:35 p.m.