diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-10-21 22:45:30 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-10-21 22:45:30 +0200 |
commit | 5b711837e28d838f20c67c057d8de36f3927ff65 (patch) | |
tree | 3902b1f6db07323e221a5ee74842c3db999fb8c7 /tests/testthat/test_plots_summary_twa.R | |
parent | 86e6d8368109d1a9c631af45227659178ce934ee (diff) |
Adress errors and notes on winbuilder
Diffstat (limited to 'tests/testthat/test_plots_summary_twa.R')
-rw-r--r-- | tests/testthat/test_plots_summary_twa.R | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testthat/test_plots_summary_twa.R b/tests/testthat/test_plots_summary_twa.R index 9c802b00..089290f6 100644 --- a/tests/testthat/test_plots_summary_twa.R +++ b/tests/testthat/test_plots_summary_twa.R @@ -52,6 +52,7 @@ test_that("Summaries are reproducible", { test_summary$date.fit <- "Dummy date for testing" test_summary$date.summary <- "Dummy date for testing" test_summary$calls <- "test 0" + test_summary$Corr <- signif(test_summary$Corr, 1) test_summary$time <- c(elapsed = "test time 0") # The correlation matrix is quite platform dependent # It differs between i386 and amd64 on Windows @@ -83,7 +84,7 @@ test_that("Summaries are reproducible", { # The correlation matrix is quite platform dependent # It differs between i386 and amd64 on Windows # and between Travis and my own Linux system - test_summary_3$Corr <- signif(test_summary_3$Corr, 1) + test_summary_3$Corr <- NULL expect_known_output(print(test_summary_3), "summary_DFOP_FOCUS_D_deSolve.txt") }) |