Commit 987b6a7d authored by millerp's avatar millerp
Browse files

Added skip_on_cran messages to long running tests. Made package depend on R 3.4

parent a11b4704
...@@ -14,7 +14,7 @@ Description: Implements a non-parametric source attribution model to attribute ...@@ -14,7 +14,7 @@ Description: Implements a non-parametric source attribution model to attribute
locations are supported. locations are supported.
License: GPL-3 License: GPL-3
Depends: Depends:
R (>= 3.3.2), R (>= 3.4.0),
dplyr, dplyr,
tensorA, tensorA,
assertthat assertthat
......
...@@ -67,7 +67,7 @@ priors <- ...@@ -67,7 +67,7 @@ priors <-
# Test suite # Test suite
test_that("HaldDP model construction", { test_that("HaldDP model construction", {
skip_on_cran() testthat::skip_on_cran()
set.seed(1) set.seed(1)
y = Y(dat, y = 'Human', type = 'Type') y = Y(dat, y = 'Human', type = 'Type')
src = reshape2::melt( src = reshape2::melt(
......
...@@ -72,6 +72,7 @@ test_that("Detect y/X data mismatch", { ...@@ -72,6 +72,7 @@ test_that("Detect y/X data mismatch", {
}) })
test_that("Test time/location data structures", { test_that("Test time/location data structures", {
testthat::skip_on_cran()
dat = testdata() dat = testdata()
y = Y( y = Y(
...@@ -107,7 +108,7 @@ test_that("Test time/location data structures", { ...@@ -107,7 +108,7 @@ test_that("Test time/location data structures", {
}) })
test_that("Prior and init", { test_that("Prior and init", {
skip_on_cran() testthat::skip_on_cran()
dat = testdata() dat = testdata()
# Data formatting # Data formatting
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment