R/zzz.R

#' Squash the global variable notes when building a package. 
#' 
if (getRversion() >= "2.15.1") {
  
  # What variables are causing issues?
  variables <- c(
    "date_end", "date_start", "site", "site_name", "variable", "value",
    "validity", "year"
  )
  
  # Squash the notes
  utils::globalVariables(variables)
  
}

Try the saqgetr package in your browser

Any scripts or data that you put into this service are public.

saqgetr documentation built on Jan. 15, 2021, 2:57 p.m.