From d0a358a8f4fd03c95536409523e492eb15726f44 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 4 Mar 2019 10:12:43 +0100 Subject: Review tests and examples based on winbuilder results Static documentation rebuilt by pkgdown --- tests/testthat/test_mkinmod.R | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/testthat/test_mkinmod.R') diff --git a/tests/testthat/test_mkinmod.R b/tests/testthat/test_mkinmod.R index 430fad61..1f8ec166 100644 --- a/tests/testthat/test_mkinmod.R +++ b/tests/testthat/test_mkinmod.R @@ -45,8 +45,10 @@ test_that("mkinmod stops to prevent and/or explain user errors", { }) test_that("Printing mkinmod models is reproducible", { - expect_known_output(print(mkinmod(parent = mkinsub("SFO", "m1"), - m1 = mkinsub("SFO"), - quiet = TRUE)), + m_test <- mkinmod(parent = mkinsub("SFO", "m1"), + m1 = mkinsub("SFO"), + quiet = TRUE) + m_test$cf <- NULL # Remove to make test robust against missing gcc + expect_known_output(print(m_test), file = "SFO_SFO_printed.txt") }) -- cgit v1.2.1