tests/testthat.R

library(testthat)
library(rstantools)

foo <- function(x) {"test function"}

if (identical(Sys.getenv("TRAVIS"), "true")) {
  test_check("rstantools", filter = "methods")
} else {
  test_check("rstantools")
}
stan-dev/rstantools documentation built on April 15, 2024, 11:13 p.m.