tests/testthat.R

suppressPackageStartupMessages({
  library(googleAuthR)
  library(jsonlite)
  library(withr)
  library(testthat)
  library(devtools)
  library(mockery)
  library(R.utils)
  library(retl)
})

# .Renviron:
# BIGQUERY_TEST_PROJECT
# BIGQUERY_ACCESS_TOKEN_PATH
# BIGQUERY_DATASET

# check that you have `sodium` package installed for tests to work locally

# devtools::install_github("jimhester/lintr")
test_check("retl")
madedotcom/retl documentation built on March 25, 2020, 4:28 p.m.