File: testthat.R

package info (click to toggle)
r-cran-rstantools 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 624 kB
  • sloc: sh: 15; cpp: 5; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 210 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
library(testthat)
library(rstantools)

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

if (identical(Sys.getenv("TRAVIS"), "true")) {
  test_check("rstantools", filter = "methods")
} else {
  test_check("rstantools")
}