From e6556362d77d4c723d031e00fd66c8f4f9bd3f24 Mon Sep 17 00:00:00 2001 From: Jacob Long <4957401+jacob-long@users.noreply.github.com> Date: Thu, 2 Sep 2021 16:07:08 -0400 Subject: [PATCH] Kludge to keep on CRAN pending more info on cause of warning --- DESCRIPTION | 2 +- NEWS.md | 4 ++++ tests/testthat/test-export-summs.R | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 24bbc429..7705e7ad 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: jtools Type: Package Title: Analysis and Presentation of Social Scientific Data -Version: 2.1.3 +Version: 2.1.4 Authors@R: person(c("Jacob","A."), "Long", email = "jacob.long@sc.edu", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-1582-6214")) Description: This is a collection of tools that the author (Jacob) has written diff --git a/NEWS.md b/NEWS.md index 3cc19976..24e7d5bf 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# jtools 2.1.4 + +* Fixed a test error. + # jtools 2.1.3 * Fixed an encoding error in the `movies` dataset. diff --git a/tests/testthat/test-export-summs.R b/tests/testthat/test-export-summs.R index ec89e939..c1e86964 100644 --- a/tests/testthat/test-export-summs.R +++ b/tests/testthat/test-export-summs.R @@ -291,7 +291,7 @@ if (requireNamespace("brms") & requireNamespace("broom.mixed")) { bfit1 <- readRDS("brmfit.rds") mvfit <- readRDS("mvfit.rds") test_that("plot_coefs works with brms", { - expect_silent(print(plot_coefs(bfit1) + ggtitle("basic brms fit"))) + expect_silent(print(suppressWarnings(plot_coefs(bfit1) + ggtitle("basic brms fit")))) expect_silent(print(suppressWarnings(plot_coefs(mvfit) + ggtitle("default mv brms fit")))) expect_silent(print(suppressWarnings(plot_coefs(mvfit, dpar = "sigma") + ggtitle("default dv, dpar sigma mv brms fit"))))