* using log directory 'd:/Rcompile/CRANpkg/local/4.4/ggformula.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'ggformula/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'ggformula' version '0.12.2' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'ggformula' can be installed ... OK * 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] OK * checking whether startup messages can be suppressed ... [3s] OK * checking use of S3 registration ... 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 ... [35s] OK * checking Rd files ... [4s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... WARNING Codoc mismatches from Rd file 'gf_lines.Rd': gf_hline Code: function(object = NULL, gformula = NULL, data = NULL, ..., yintercept, color, linetype, linewidth, alpha, xlab, ylab, title, subtitle, caption, position = "identity", show.legend = NA, show.help = NULL, inherit = FALSE, environment = parent.frame()) Docs: function(object = NULL, gformula = NULL, data = NULL, ..., yintercept, color, linetype, linewidth, alpha, xlab, ylab, title, subtitle, caption, show.legend = NA, show.help = NULL, inherit = FALSE, environment = parent.frame()) Argument names in code not in docs: position Mismatches in argument names (first 3): Position: 15 Code: position Docs: show.legend Position: 16 Code: show.legend Docs: show.help Position: 17 Code: show.help Docs: inherit gf_vline Code: function(object = NULL, gformula = NULL, data = NULL, ..., xintercept, color, linetype, linewidth, alpha, xlab, ylab, title, subtitle, caption, position = "identity", show.legend = NA, show.help = NULL, inherit = FALSE, environment = parent.frame()) Docs: function(object = NULL, gformula = NULL, data = NULL, ..., xintercept, color, linetype, linewidth, alpha, xlab, ylab, title, subtitle, caption, show.legend = NA, show.help = NULL, inherit = FALSE, environment = parent.frame()) Argument names in code not in docs: position Mismatches in argument names (first 3): Position: 15 Code: position Docs: show.legend Position: 16 Code: show.legend Docs: show.help Position: 17 Code: show.help Docs: inherit * 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] 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 ... [24s] ERROR Running examples in 'ggformula-Ex.R' failed The error most likely occurred in: > ### Name: gf_boxplot > ### Title: Formula interface to geom_boxplot() > ### Aliases: gf_boxplot > > ### ** Examples > > gf_boxplot(age ~ substance, data = mosaicData::HELPrct) Error in `position_dodge()`: ! `orientation` must be a string or character vector. Backtrace: ▆ 1. ├─ggformula::gf_boxplot(age ~ substance, data = mosaicData::HELPrct) 2. │ ├─base::do.call(position_fun, pdots) 3. │ └─ggplot2::position_dodge(orientation = NA) 4. │ ├─ggplot2::ggproto(...) 5. │ │ └─rlang::list2(...) 6. │ └─rlang::arg_match0(orientation, c("x", "y")) 7. └─rlang::abort(message = message, call = call) Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [30s] ERROR Running 'testthat.R' [29s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(ggformula) Loading required package: ggplot2 Loading required package: scales Loading required package: ggridges New to ggformula? Try the tutorials: learnr::run_tutorial("introduction", package = "ggformula") learnr::run_tutorial("refining", package = "ggformula") > > test_check("ggformula") Smoothing formula not specified. Using: y ~ x Smoothing formula not specified. Using: y ~ x [ FAIL 1 | WARN 2 | SKIP 46 | PASS 0 ] ══ Skipped tests (46) ══════════════════════════════════════════════════════════ • On CRAN (46): 'test-annotate.R:7:5', 'test-annotate.R:16:5', 'test-annotate.R:25:5', 'test-annotate.R:35:5', 'test-annotate.R:45:5', 'test-annotate.R:55:5', 'test-annotate.R:64:5', 'test-labeling.R:7:5', 'test-labeling.R:17:5', 'test-labeling.R:26:5', 'test-labeling.R:48:5', 'test-layer-factory.R:28:5', 'test-layer-factory.R:78:5', 'test-layer-factory.R:98:5', 'test-layer-factory.R:139:5', 'test-layer-factory.R:183:5', 'test-layer-factory.R:193:5', 'test-layer-factory.R:237:5', 'test-layer-factory.R:252:5', 'test-layer-factory.R:311:5', 'test-layer-factory.R:340:5', 'test-layer-factory.R:449:5', 'test-layer-factory.R:460:5', 'test-layer-factory.R:480:5', 'test-layer-factory.R:510:5', 'test-layer-factory.R:528:5', 'test-layer-factory.R:556:5', 'test-layer-factory.R:574:5', 'test-layer-factory.R:590:5', 'test-layer-factory.R:606:5', 'test-layer-factory.R:646:5', 'test-layer-factory.R:661:5', 'test-layer-factory.R:689:5', 'test-layer-factory.R:702:5', 'test-layer-factory.R:727:5', 'test-layer-factory.R:749:5', 'test-layer-factory.R:762:5', 'test-layer-factory.R:779:5', 'test-layer-factory.R:791:5', 'test-layer-factory.R:811:5', 'test-layer-factory.R:827:5', 'test-layer-factory.R:844:5', 'test-layer-factory.R:938:5', 'test-layer-factory.R:954:5', 'test-layer-factory.R:971:5', 'test-layer-factory.R:984:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-layer-factory.R:213:5'): gf_boxplot() ────────────────────────── Error in `position_dodge(orientation = NA)`: `orientation` must be a string or character vector. Backtrace: ▆ 1. ├─ggformula:::wrapped_expect_doppelganger(...) at test-layer-factory.R:213:5 2. │ └─vdiffr::expect_doppelganger(title, fig, ...) 3. │ └─vdiffr (local) writer(fig, testcase, title) 4. │ └─vdiffr:::print_plot(plot, title) 5. ├─ggformula::gf_boxplot(...) 6. │ ├─base::do.call(position_fun, pdots) 7. │ └─ggplot2::position_dodge(orientation = NA) 8. │ ├─ggplot2::ggproto(...) 9. │ │ └─rlang::list2(...) 10. │ └─rlang::arg_match0(orientation, c("x", "y")) 11. └─rlang::abort(message = message, call = call) [ FAIL 1 | WARN 2 | SKIP 46 | PASS 0 ] Deleting unused snapshots: • labeling/using.svg • layer-factory/discrete-breaks-2-0.svg • layer-factory/gf-abline2.svg • layer-factory/gf-abline3.svg • layer-factory/gf-abline4.svg • layer-factory/gf-abline5.svg • layer-factory/gf-abline6.svg • layer-factory/gf-abline7.svg • layer-factory/gf-area1.svg • layer-factory/gf-ash2.svg • layer-factory/gf-ash3.svg • layer-factory/gf-blank1.svg • layer-factory/gf-boxplot2.svg • layer-factory/gf-boxplot3.svg • layer-factory/gf-coefline2.svg • layer-factory/gf-col1.svg • layer-factory/gf-contour2.svg • layer-factory/gf-contour3.svg • layer-factory/gf-crossbar1.svg • layer-factory/gf-dens2.svg • layer-factory/gf-density-2d.svg • layer-factory/gf-density-with-fill.svg • layer-factory/gf-density1.svg • layer-factory/gf-density2.svg • layer-factory/gf-density2d1.svg • layer-factory/gf-density2d2.svg • layer-factory/gf-dhistogram1.svg • layer-factory/gf-dhistogramh1.svg • layer-factory/gf-dhistogramh2.svg • layer-factory/gf-dist2.svg • layer-factory/gf-dist3.svg • layer-factory/gf-dist4.svg • layer-factory/gf-dist5.svg • layer-factory/gf-dist6.svg • layer-factory/gf-dotplot2.svg • layer-factory/gf-empty2.svg • layer-factory/gf-errorbar1.svg • layer-factory/gf-fitdistr2.svg • layer-factory/gf-frame1.svg • layer-factory/gf-freqpoly2.svg • layer-factory/gf-fun2.svg • layer-factory/gf-fun2d2.svg • layer-factory/gf-fun2d3.svg • layer-factory/gf-fun2d4.svg • layer-factory/gf-fun2d5.svg • layer-factory/gf-fun2d6.svg • layer-factory/gf-histogram-with-facets.svg • layer-factory/gf-histogram2.svg • layer-factory/gf-label2.svg • layer-factory/gf-line2.svg • layer-factory/gf-percents1.svg • layer-factory/gf-point2.svg • layer-factory/gf-pointrange1.svg • layer-factory/gf-props1.svg • layer-factory/gf-qqstep1.svg • layer-factory/gf-ribbon2.svg • layer-factory/gf-rug-1.svg • layer-factory/gf-rug-2.svg • layer-factory/gf-rug-3.svg • layer-factory/gf-rug-4.svg • layer-factory/gf-rug-5.svg • layer-factory/gf-rug-6.svg • layer-factory/gf-rug-7.svg • layer-factory/gf-rug-8.svg • layer-factory/gf-rug-on-y-only-but-with-jitter.svg • layer-factory/gf-rugx-gf-rug-y-with-jitter.svg • layer-factory/gf-rugx-with-jitter.svg • layer-factory/gf-rugx-without-jitter.svg • layer-factory/gf-rugy.svg • layer-factory/gf-spoke2.svg • layer-factory/gf-text1.svg • layer-factory/gf-text2.svg • layer-factory/gf-tile1.svg • layer-factory/proportions-within-all-dodge.svg • layer-factory/proportions-within-fill-dodge.svg • layer-factory/proportions-within-fill-facet-grid-and-group.svg • layer-factory/proportions-within-fill-facet-grid.svg • layer-factory/proportions-within-group-facet-grid.svg Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [14s] OK * checking PDF version of manual ... [26s] OK * checking HTML version of manual ... [22s] OK * DONE Status: 2 ERRORs, 1 WARNING