R/DataPackCommons.R

Defines functions `:=`

#' \code{datapackcommons} package
#'
#' Parsing and import functions for the ICPI Data Pack
#' https://github.com/jennybc/googlesheets/blob/master/R/googlesheets.R
#' @docType package
#' @name datapackcommons
#' @importFrom dplyr %>%
#' @importFrom utils URLencode
NULL

## quiets concerns of R CMD check re: the .'s that appear in pipelines
if (getRversion() >= "2.15.1")
  utils::globalVariables(
    c(".",
      "web_api_call"
    )
  )

## Not a valid R operator, but is valid within certain dplyr/rlang contexts
## https://community.rstudio.com/t/undefined-global-functions-or-variables/10852
`:=` <- function(a, b) stop(":= should not be called directly")
pepfar-datim/data-pack-commons documentation built on April 26, 2024, 12:09 a.m.