R/globals.R

# globals.R


# Always loaded first in the Collate order.


# roxygen2 tags for the namespace ----------------------------------------------


#' @import data.table
#' @import sp


# Class unions and virtual classes ---------------------------------------------


setClassUnion("NullCall", members = c("call", "NULL"))
setClassUnion("NullEnv",  members = c("environment", "NULL"))


# Register S3 classes  ---------------------------------------------------------


setOldClass("data.table", prototype = data.table::data.table())


# Symbols with no bindings -----------------------------------------------------


# These explicit declarations avoid errors in R CMD CHECK.


# utils::globalVariables(
#     package = "cargo",
#     add     = TRUE,
#     names   = character()
# )
jeanmathieupotvin/cargo documentation built on Oct. 27, 2020, 5:22 p.m.