R/name2sex-package.R

Defines functions .onAttach

#' @keywords internal
"_PACKAGE"

.onAttach <- function(libname, pkgname) {
  if (!requireNamespace("genderdata", quietly = TRUE)) {
    install.packages(
      "genderdata",
      type = "source",
      repos = "http://packages.ropensci.org"
    )
  }
}
mkearney/name2sex documentation built on May 30, 2019, 6:10 a.m.