From 587662437bce06ea202551048226b86cff0db187 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 14 Sep 2018 21:02:46 +0200 Subject: Skip more tests on CRAN Static documentation rebuilt by pkgdown --- tests/testthat/test_twa.R | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/testthat/test_twa.R') diff --git a/tests/testthat/test_twa.R b/tests/testthat/test_twa.R index d5c0b98b..a84b2c4e 100644 --- a/tests/testthat/test_twa.R +++ b/tests/testthat/test_twa.R @@ -18,11 +18,13 @@ context("Calculation of maximum time weighted average concentrations (TWAs)") -twa_models <- c("SFO", "FOMC", "DFOP") -fits <- mmkin(twa_models, list(FOCUS_D = FOCUS_2006_D), - quiet = TRUE, cores = 1) test_that("Time weighted average concentrations are correct", { + skip_on_cran() + twa_models <- c("SFO", "FOMC", "DFOP") + fits <- mmkin(twa_models, list(FOCUS_D = FOCUS_2006_D), + quiet = TRUE, cores = 1) + outtimes_7 <- seq(0, 7, length.out = 10000) for (model in twa_models) { fit <- fits[[model, 1]] -- cgit v1.2.1