tests/testthat.R

library(testthat)
suppressWarnings(suppressMessages(library(Rinstapkg)))

if (identical(tolower(Sys.getenv("NOT_CRAN")), "true") & 
    identical(tolower(Sys.getenv("TRAVIS_PULL_REQUEST")), "false")) {

  test_check("Rinstapkg")
}
eric88tchong/Rinstapkg documentation built on June 12, 2019, 1:06 p.m.