#' Function to squash R check's global variable notes.
#'
#' @name zzz
#'
if (getRversion() >= "2.15.1") {
# What variables are causing issues?
variables <- c(
".", "variable", "date_start", "value", "bus", "device", "language", "major",
"minor", "version_string_short", "nickname", "version_major_minor",
"abbreviation", "countryCode", "countryName", "date_api", "daylight_savings",
"dst", "gmtOffset", "id", "timestamp", "zoneName", ".attrs", "location",
"mountpoint", "playlist", "status", "query", "country", "country_code",
"zip", "lat", "lon", "timezone", "formatted"
)
# Squash the note
utils::globalVariables(variables)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.