tests/testthat.R

library(testthat)
library(SP2000)

#All of the tests rely on the API existing and behaving as documented. However,
#the API occasionally falls over or stops working which lets to errors on CRAN.
#Because we use travis CI we will hear about any test failures as soon as they
#happen. So, let's skill all tests on CRAN:

if(identical(Sys.getenv("NOT_CRAN"), "true")){
  test_check("SP2000")
}

Try the SP2000 package in your browser

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

SP2000 documentation built on Nov. 8, 2020, 4:41 p.m.