tests/tinytest.R

if(requireNamespace("tinytest", quietly = TRUE)) {

  set.seed(42)
  home <- length(unclass(packageVersion("BVAR"))[[1]]) == 4 # 0.0.0.9000
  # home <- TRUE
  if(home) { # Only run locally, let CRAN test examples and the vignette
    tinytest::test_package("BVAR", at_home = home, pattern = "^.*\\.[rR]$")
  }
}

Try the BVAR package in your browser

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

BVAR documentation built on May 29, 2024, 5:34 a.m.