- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘saros/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘saros’ version ‘1.5.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘saros’ can be installed ... [2s/2s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking startup messages can be suppressed ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s/3s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] ERROR
Running examples in ‘saros-Ex.R’ failed
The error most likely occurred in:
> ### Name: fig_height_h_barchart2
> ### Title: Estimate figure height for a horizontal bar chart
> ### Aliases: fig_height_h_barchart2
>
> ### ** Examples
>
> fig_height_h_barchart2(makeme(data = ex_survey, dep = b_1:b_3, indep = x1_sex))
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘systemfonts’
Calls: fig_height_h_barchart2 ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [6s/5s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [6s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(saros)
>
> testthat::test_check("saros")
Starting 2 test processes
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 197 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-make_content.cat_plot_docx.R:4:3'): chart cat_docx ─────────────
Error: package or namespace load failed for 'officer' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called 'systemfonts'
Backtrace:
▆
1. └─base::library(officer) at test-make_content.cat_plot_docx.R:4:3
2. └─base::tryCatch(...)
3. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. └─value[[3L]](cond)
── Error ('test-make_content.cat_plot_html.R:4:7'): show.legend works with unused categories ──
<packageNotFoundError/error/condition>
Error in `loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])`: there is no package called 'systemfonts'
Backtrace:
▆
1. ├─vdiffr::expect_doppelganger(...) at test-make_content.cat_plot_html.R:2:5
2. │ └─vdiffr (local) writer(fig, testcase, title)
3. │ └─vdiffr:::print_plot(plot, title)
4. ├─saros::makeme(...) at test-make_content.cat_plot_html.R:4:7
5. │ ├─base::suppressPackageStartupMessages(...)
6. │ │ └─base::withCallingHandlers(expr, packageStartupMessage = function(c) tryInvokeRestart("muffleMessage"))
7. │ ├─rlang::exec(...)
8. │ ├─saros (local) `<fn>`(...)
9. │ └─saros:::make_content.cat_plot_html(...)
10. └─base::loadNamespace(x)
11. ├─base::namespaceImportFrom(...)
12. │ └─base::asNamespace(ns)
13. └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
14. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
15. └─base (local) withOneRestart(expr, restarts[[1L]])
16. └─base (local) doWithOneRestart(return(expr), restart)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 197 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [7s/7s] OK
- checking PDF version of manual ... [4s/4s] OK
- DONE
Status: 2 ERRORs
- using check arguments '--no-clean-on-error '