- 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 'checkhelper/DESCRIPTION' ... OK
- this is package 'checkhelper' version '0.1.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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'checkhelper' can be installed ... 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 code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [2s] OK
- checking loading without being on the library search path ... [2s] 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 ... [5s] OK
- checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [9s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [118s] ERROR
Running 'testthat.R' [117s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(checkhelper)
>
> test_check("checkhelper")
Test passed 😸
Package: checkpackage
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R (parsed):
* First Last <first.last@example.com> [aut, cre]
Description: What the package does (one paragraph).
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
license
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
Package: checkpackage
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R (parsed):
* First Last <first.last@example.com> [aut, cre]
Description: What the package does (one paragraph).
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
license
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
Package: checkpackage
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R (parsed):
* First Last <first.last@example.com> [aut, cre]
Description: What the package does (one paragraph).
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
license
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
Package: checkpackage
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R (parsed):
* First Last <first.last@example.com> [aut, cre]
Description: What the package does (one paragraph).
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
license
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
── R CMD build ─────────────────────────────────────────────────────────────────
* checking for file 'D:\temp\2025_11_12_01_50_01_6119\RtmpKCdM9x\pkg-6c38376714b8\checkpackage/DESCRIPTION' ... OK
* preparing 'checkpackage':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
Removed empty directory 'checkpackage/R'
Removed empty directory 'checkpackage/man'
* building 'checkpackage_0.0.0.9000.tar.gz'
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L, :
storing paths of more than 100 bytes is not portable:
'checkpackage/inst/I build/a very/long_name/that should be/not_ok/for_checks/and hopefully/lead to/some/'
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L, :
storing paths of more than 100 bytes is not portable:
'checkpackage/inst/I build/a very/long_name/that should be/not_ok/for_checks/and hopefully/lead to/some/extra_notes/'
Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L, :
storing paths of more than 100 bytes is not portable:
'checkpackage/inst/I build/a very/long_name/that should be/not_ok/for_checks/and hopefully/lead to/some/extra_notes/super_long_file_name_for_tests_to_extra_notes'
── R CMD check ─────────────────────────────────────────────────────────────────
* using log directory 'D:/temp/2025_11_12_01_50_01_6119/RtmpKCdM9x/file6c3840311ede/checkpackage.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
* using options '--no-manual --as-cran'
* checking for file 'checkpackage/DESCRIPTION' ... OK
* this is package 'checkpackage' version '0.0.0.9000'
* package encoding: UTF-8
* checking CRAN incoming feasibility ... [6s] NOTE
Maintainer: 'First Last <first.last@example.com>'
New submission
Version contains large components (0.0.0.9000)
Non-FOSS package license (`use_mit_license()`, `use_gpl3_license()` or friends to pick a
license)
DESCRIPTION fields with placeholder content:
Title: what the package does (one line, title case)
Description: what the package does (one paragraph).
* 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 ... NOTE
Found the following non-portable file paths:
checkpackage/inst/I build/a very/long_name/that should be/not_ok/for_checks/and hopefully/lead to/some/extra_notes/super_long_file_name_for_tests_to_extra_notes
checkpackage/inst/I build/a very/long_name/that should be/not_ok/for_checks/and hopefully/lead to/some/extra_notes
Tarballs are only required to store paths of up to 100 bytes and cannot
store those of more than 256 bytes, with restrictions including to 100
bytes for the final component.
See section 'Package structure' in the 'Writing R Extensions' manual.
* checking serialization versions ... OK
* checking whether package 'checkpackage' can be installed ... [2s] OK
* checking installed package size ... OK
* checking package directory ... OK
* checking for future file timestamps ...Error in if (abs(unclass(now_local) - unclass(now)[1]) > 300) { :
missing value where TRUE/FALSE needed
Execution halted
ERROR: Unknown command "TMPDIR=D:/temp/2025_11_12_01_50_01_6119/RtmpKkcgOA/file106e84d9d7d9e". Did you mean command "preview"?
Warning message:
In system2("quarto", "-V", stdout = TRUE, env = paste0("TMPDIR=", :
running command '"quarto" TMPDIR=D:/temp/2025_11_12_01_50_01_6119/RtmpKkcgOA/file106e84d9d7d9e -V' had status 1
Package: checkpackage
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R (parsed):
* First Last <first.last@example.com> [aut, cre]
Description: What the package does (one paragraph).
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
license
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
Package: checkpackage
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R (parsed):
* First Last <first.last@example.com> [aut, cre]
Description: What the package does (one paragraph).
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
license
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
Package: checkpackage
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R (parsed):
* First Last <first.last@example.com> [aut, cre]
Description: What the package does (one paragraph).
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
license
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
Package: checkpackage
Title: What the Package Does (One Line, Title Case)
Version: 0.0.0.9000
Authors@R (parsed):
* First Last <first.last@example.com> [aut, cre]
Description: What the package does (one paragraph).
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
license
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.3
[ FAIL 8 | WARN 0 | SKIP 1 | PASS 53 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On Windows (1): 'test-check_clean_userspace.R:5:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-checkhelper.R:35:3'): get_no_visible works ───────────────────
globals$globalVariables$fun not equal to c(...).
target is NULL, current is character
── Failure ('test-checkhelper.R:43:3'): get_no_visible works ───────────────────
globals$globalVariables$variable not equal to c("x", "y", "new_col", "x", "y", "new_col2", "x", "y", "new_col2").
target is NULL, current is character
── Failure ('test-checkhelper.R:54:3'): print_outputs works ────────────────────
print_outputs$liste_funs not equal to "--- Functions to add in NAMESPACE (with @importFrom ?) ---\n\nmy_long_fun_name_for_multiple_lines_globals: %>%, aes, geom_point, ggplot, mutate\nmy_plot: %>%, aes, geom_point, ggplot, mutate\nmy_plot_rdname: %>%, aes, geom_point, ggplot, mutate\n".
target is NULL, current is character
── Failure ('test-checkhelper.R:58:3'): print_outputs works ────────────────────
print_outputs$liste_globals not equal to "--- Potential GlobalVariables ---\n-- code to copy to your R/globals.R file --\n\nglobalVariables(unique(c(\n# my_long_fun_name_for_multiple_lines_globals: \n\"new_col\", \"x\", \"y\", \n# my_plot: \n\"new_col2\", \"x\", \"y\", \n# my_plot_rdname: \n\"new_col2\", \"x\", \"y\"\n)))".
target is NULL, current is character
── Failure ('test-checkhelper.R:98:3'): notes from checks works ────────────────
nrow(notes) not equal to 26.
target is NULL, current is numeric
── Failure ('test-checkhelper.R:99:3'): notes from checks works ────────────────
ncol(notes) not equal to 8.
target is NULL, current is numeric
── Failure ('test-checkhelper.R:110:3'): get_no_visible works after checks ─────
globals$globalVariables$fun not equal to c(...).
target is NULL, current is character
── Failure ('test-checkhelper.R:118:3'): get_no_visible works after checks ─────
globals$globalVariables$variable not equal to c("x", "y", "new_col", "x", "y", "new_col2", "x", "y", "new_col2").
target is NULL, current is character
[ FAIL 8 | WARN 0 | SKIP 1 | PASS 53 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [8s] OK
- checking PDF version of manual ... [16s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR