# 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()
# )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.