* using log directory 'd:/Rcompile/CRANpkg/local/4.2/naniar.Rcheck' * using R version 4.2.3 (2023-03-15 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: UTF-8 * checking for file 'naniar/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'naniar' version '1.1.0' * 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 'naniar' 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [7s] OK * checking Rd files ... [2s] 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 ... 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 ... [26s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [27s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [26s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(naniar) > > test_check("naniar") Attaching package: 'purrr' The following object is masked from 'package:testthat': is_null Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union [ FAIL 2 | WARN 0 | SKIP 97 | PASS 437 ] ══ Skipped tests (97) ══════════════════════════════════════════════════════════ • On CRAN (97): 'test-add-label-shadow.R:31:3', 'test-add-shadow.R:10:3', 'test-as-shadow.R:33:3', 'test-as_shadow_upset.R:2:3', 'test-as_shadow_upset.R:21:3', 'test-cast-shadow-shift-label.R:3:3', 'test-cast-shadow-shift.R:26:3', 'test-defunct.R:4:3', 'test-defunct.R:11:3', 'test-defunct.R:18:3', 'test-defunct.R:25:3', 'test-defunct.R:32:3', 'test-defunct.R:39:3', 'test-defunct.R:46:3', 'test-defunct.R:53:3', 'test-defunct.R:60:3', 'test-gather-shadow.R:10:3', 'test-geom-miss-point.R:17:3', 'test-geom-miss-point.R:29:3', 'test-geom-miss-point.R:42:3', 'test-geom-miss-point.R:56:3', 'test-gg-miss-case-cumsum.R:15:3', 'test-gg-miss-case.R:15:3', 'test-gg-miss-case.R:24:3', 'test-gg-miss-case.R:33:3', 'test-gg-miss-case.R:44:3', 'test-gg-miss-case.R:53:3', 'test-gg-miss-case.R:64:3', 'test-gg-miss-case.R:75:3', 'test-gg-miss-case.R:87:3', 'test-gg-miss-fct.R:13:3', 'test-gg-miss-span.R:13:3', 'test-gg-miss-span.R:26:3', 'test-gg-miss-var-cumsum.R:15:3', 'test-gg-miss-var-plot.R:15:3', 'test-gg-miss-var-plot.R:24:3', 'test-gg-miss-var-plot.R:35:3', 'test-gg-miss-var-plot.R:46:3', 'test-gg-miss-which.R:13:3', 'test-impute-below.R:7:3', 'test-impute-median.R:20:3', 'test-impute-median.R:102:3', 'test-impute-median.R:108:3', 'test-impute-median.R:119:3', 'test-impute-median.R:125:3', 'test-impute_mean.R:15:3', 'test-impute_mean.R:48:3', 'test-impute_mean.R:110:3', 'test-impute_mean.R:116:3', 'test-impute_mean.R:132:3', 'test-impute_mean.R:138:3', 'test-label-miss-1d.R:6:3', 'test-label-miss-1d.R:24:3', 'test-label-miss-2d.R:6:3', 'test-label-miss-2d.R:13:3', 'test-label-miss-2d.R:20:3', 'test-label-miss-2d.R:41:3', 'test-miss-case-summary.R:2:3', 'test-miss-case-summary.R:9:3', 'test-miss-case-table.R:2:3', 'test-miss-prop-summary.R:12:3', 'test-miss-scan-count.R:12:3', 'test-miss-scan-count.R:19:3', 'test-miss-summary.R:16:3', 'test-miss-var-case-cumsum.R:3:3', 'test-miss-var-case-cumsum.R:9:3', 'test-miss-var-summary.R:11:3', 'test-miss-var-table.R:11:3', 'test-miss-var-table.R:17:3', 'test-miss-var-which.R:7:3', 'test-miss-x-pct.R:2:3', 'test-miss-x-pct.R:8:3', 'test-miss-x-pct.R:14:3', 'test-miss-x-pct.R:20:3', 'test-miss-x-pct.R:26:3', 'test-miss-x-pct.R:34:3', 'test-miss-x-pct.R:41:3', 'test-miss-x-pct.R:49:3', 'test-nabular.R:11:3', 'test-prop_row.R:3:3', 'test-replace-with-na-scoped-var.R:3:3', 'test-set-n-prop-miss.R:18:3', 'test-set-n-prop-miss.R:37:3', 'test-shade.R:2:3', 'test-shade.R:9:3', 'test-shade.R:16:3', 'test-shade.R:64:3', 'test-shadow-long.R:4:3', 'test-shadow-long.R:10:3', 'test-shadow-long.R:17:3', 'test-shadow-long.R:23:3', 'test-shadow-shift.R:8:3', 'test-shadow-shift.R:22:3', 'test-special-missing-values.R:9:3', 'test-special-missing-values.R:42:3', 'test-special-missing-values.R:50:3', 'test-special-missing-values.R:140:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-geom-miss-point.R:62:1'): (code run outside of `test_that()`) ── Error in `as.Date.numeric(number)`: 'origin' must be supplied Backtrace: ▆ 1. ├─tibble::tibble(...) at test-geom-miss-point.R:62:1 2. │ └─tibble:::tibble_quos(xs, .rows, .name_repair) 3. │ └─rlang::eval_tidy(xs[[j]], mask) 4. ├─base::as.Date(number) 5. └─base::as.Date.numeric(number) ── Error ('test-impute-below.R:96:1'): (code run outside of `test_that()`) ───── Error in `as.Date.numeric(number)`: 'origin' must be supplied Backtrace: ▆ 1. ├─tibble::tibble(...) at test-impute-below.R:96:1 2. │ └─tibble:::tibble_quos(xs, .rows, .name_repair) 3. │ └─rlang::eval_tidy(xs[[j]], mask) 4. ├─base::as.Date(number) 5. └─base::as.Date.numeric(number) [ FAIL 2 | WARN 0 | SKIP 97 | PASS 437 ] Deleting unused snapshots: • geom-miss-point/geom-miss-point-jitter.svg • geom-miss-point/geom-miss-point-plot-date-prop-jitter.svg • geom-miss-point/geom-miss-point-plot-date.svg • geom-miss-point/geom-miss-point-prop-jitter.svg • geom-miss-point/geom-miss-point-prop.svg • geom-miss-point/geom-miss-point.svg • gg-miss-case-cumsum/gg-miss-case-cumsum.svg • gg-miss-case/gg-miss-case-group-and-sort-show-pct.svg • gg-miss-case/gg-miss-case-group-and-sort.svg • gg-miss-case/gg-miss-case-group-show-pct.svg • gg-miss-case/gg-miss-case-group.svg • gg-miss-case/gg-miss-case-plot-show-pct.svg • gg-miss-case/gg-miss-case-sort-show-pct.svg • gg-miss-case/gg-miss-case-sort.svg • gg-miss-case/gg-miss-case.svg • gg-miss-fct/gg-miss-fct.svg • gg-miss-span/gg-miss-span-group.svg • gg-miss-span/gg-miss-span.svg • gg-miss-var-cumsum/gg-miss-var-cumsum.svg • gg-miss-var-plot/gg-miss-var-group-pct.svg • gg-miss-var-plot/gg-miss-var-pct.svg • gg-miss-var-plot/gg-miss-var-plot-group.svg • gg-miss-var-plot/gg-miss-var.svg • gg-miss-which/gg-miss-which.svg 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 ... [45s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR