R/pipload.R

#' @keywords internal
#' @docType package
#' @name pipload-package
#' @import data.table
#' @importFrom lifecycle deprecated
#' @importFrom magrittr "%>%" "%<>%"
#' @export
magrittr::`%>%`
"_PACKAGE"


# Make sure data.table knows we know we're using it
.datatable.aware = TRUE

# Prevent R CMD check from complaining about the use of pipe expressions
# standard data.table variables
if (getRversion() >= "2.15.1") {
  utils::globalVariables(
    names = c(
      ".",
      ".I",
      ".N",
      ".SD",
      "cache_id",
      "country_code",
      "data",
      "filename",
      "filtered",
      "maxalt",
      "maxmast",
      "menu",
      "n_source",
      "orig",
      "survey_id_real",
      "veralt",
      "vermast",
      "menu",
      "creationtime",
      "fullname",
      "lastwritetime",
      "module",
      "survey_id",
      "surveyid_year",
      "n_module",
      "tool",
      "vintage_id",
      ".",
      "!!",
      ":="
    ),
    package = utils::packageName()
  )
}


NULL
PIP-Technical-Team/pipload documentation built on March 22, 2022, 3:22 a.m.