* using log directory ‘/srv/hornik/tmp/CRAN_pretest/see.Rcheck’ * using R Under development (unstable) (2024-08-30 r87081) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (9) Debian flang-new version 18.1.8 (9) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘see/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘see’ version ‘0.9.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/8s] NOTE Maintainer: ‘Indrajeet Patil ’ Unknown, possibly misspelled, fields in DESCRIPTION: ‘Remotes’ * 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 ‘see’ can be installed ... [5s/5s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] 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 ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] 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 ... [11s/11s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 examples ... [11s/11s] ERROR Running examples in ‘see-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: plot.see_check_dag > ### Title: Plot method for check DAGs > ### Aliases: plot.see_check_dag > > ### ** Examples > > ## Don't show: > if (require("ggdag", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + library(performance) + # incorrect adjustment + dag <- check_dag( + y ~ x + b + c, + x ~ b, + outcome = "y", + exposure = "x" + ) + dag + plot(dag) + + # plot only model with required adjustments + plot(dag, which = "required") + + # collider-bias? + dag <- check_dag( + y ~ x + c + d, + x ~ c + d, + b ~ x, + b ~ y, + outcome = "y", + exposure = "x", + adjusted = "c" + ) + plot(dag) + + # longer labels, automatic detection of outcome and exposure + dag <- check_dag( + QoL ~ age + education + gender, + age ~ education + ) + plot(dag) + ## Don't show: + }) # examplesIf Attaching package: ‘ggdag’ The following object is masked from ‘package:stats’: filter > library(performance) > dag <- check_dag(y ~ x + b + c, x ~ b, outcome = "y", exposure = "x") Error in check_dag(y ~ x + b + c, x ~ b, outcome = "y", exposure = "x") : could not find function "check_dag" Calls: -> source -> withVisible -> eval -> eval Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [23s/11s] ERROR Running ‘testthat.R’ [23s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # graphics engine changed in R 4.3, and so snapshots generated on > # previous R version won't work with later R releases > if (require("testthat", quietly = TRUE) && require("vdiffr", quietly = TRUE) && getRversion() >= "4.4.0") { + library(testthat) + library(see) + + test_check("see") + } Starting 2 test processes [ FAIL 3 | WARN 0 | SKIP 12 | PASS 33 ] ══ Skipped tests (12) ══════════════════════════════════════════════════════════ • On CRAN (12): 'test-check_model.R:2:3', 'test-plot.check_normality.R:18:3', 'test-plot.effectsize_table.R:5:3', 'test-plot.compare_parameters.R:20:3', 'test-plot.n_factors.R:7:3', 'test-plot.performance_roc.R:14:3', 'test-plot.performance_pp_check.R:6:3', 'test-scale_color_colorhex_c.R:3:3', 'test-vdiffr_bayestestr_plots.R:11:3', 'test-vdiffr_geoms_coords.R:13:3', 'test-vdiffr_scale_color.R:2:3', 'test-vdiffr_themes.R:11:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-plot.check_dag.R:7:3'): `plot()` for check_dag ───────────────── Error: 'check_dag' is not an exported object from 'namespace:performance' ── Error ('test-plot.check_dag.R:58:3'): `plot()` for check_dag, multiple adjustment sets ── Error: 'check_dag' is not an exported object from 'namespace:performance' ── Error ('test-plot.check_dag.R:77:3'): `plot()` for check_dag, different total and direct adjustments ── Error: 'check_dag' is not an exported object from 'namespace:performance' [ FAIL 3 | WARN 0 | SKIP 12 | PASS 33 ] Error: Test failures Execution halted * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 1 NOTE