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")
}

Try the rstantools package in your browser

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

rstantools documentation built on July 26, 2023, 5:35 p.m.