R/zzz.R

#' Function to squash R check's global variable notes. 
#' 
#' @name zzz
#' 
if (getRversion() >= "2.15.1") {
  
  # What variables are causing issues?
  variables <- c(
    "date_arrival", "date_trajectory", "hours_offset", "latitude", "longitude"
  )
  
  # Squash the note
  utils::globalVariables(variables)
  
}
skgrange/hyr documentation built on March 27, 2024, 12:38 a.m.