[R-pkg-team] Bug#961498: r-cran-sjplot: missing test dependency on r-cran-haven

Adrian Bunk bunk at debian.org
Mon May 25 11:10:10 BST 2020


Source: r-cran-sjplot
Version: 2.8.3-2
Severity: serious

https://ci.debian.net/data/autopkgtest/testing/amd64/r/r-cran-sjplot/5625656/log.gz

...
> library(testthat)
> library(sjPlot)
> 
> if (length(strsplit(packageDescription("sjPlot")$Version, "\\.")[[1]]) > 3) {
+   Sys.setenv("RunAllsjPlotTests" = "yes")
+ }
> 
> test_check("sjPlot")
── 1. Error: (unknown) (@test-plot_model_std.R#15)  ────────────────────────────
Package 'haven' required for this function. Please install it.
Backtrace:
 1. sjmisc::to_factor(efc, e42dep, c172code, c161sex)
 2. sjmisc:::to_fac_helper(.dat[[i]], add.non.labelled, ref.lvl)
 5. sjlabelled::set_labels(...)
 6. sjlabelled:::set_labels_helper(...)

══ testthat results  ═══════════════════════════════════════════════════════════
[ OK: 2 | SKIPPED: 0 | WARNINGS: 12 | FAILED: 1 ]
...


r-cran-sjlabelled no longer depends on r-cran-haven.


More information about the R-pkg-team mailing list