tests/test-all.R

# for CRAN SUBMISSION:
# - is NEWS and DESCRIPTION up to date?

# - knit vignette
# - rhub test

# travisdir <- "~/git/seasonal/travis"
# These tests are more extensive and only need to run on travis, not on CRAN.

seasonal::checkX13()
x13binary::checkX13binary()

if (Sys.getenv("TRAVIS") != ""){
  travisdir <- file.path(Sys.getenv("TRAVIS_BUILD_DIR"), "travis")
  source(file.path(travisdir, "settings.R"))
  source(file.path(travisdir, "test-import.R"))
  source(file.path(travisdir, "test-numerical.R"))
  source(file.path(travisdir, "test-static.R"))
  source(file.path(travisdir, "test-update.R"))
  source(file.path(travisdir, "test-two-way-parsing.R"))
}

Try the seasonal package in your browser

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

seasonal documentation built on May 30, 2017, 4:24 a.m.