Last updated on 2025-12-07 07:50:27 CET.
| Package | ERROR | WARN | NOTE | OK |
|---|---|---|---|---|
| cleanr | 1 | 12 | ||
| document | 1 | 12 | ||
| excerptr | 1 | 12 | ||
| fakemake | 1 | 12 | ||
| fritools | 13 | |||
| fritools2 | 7 | 6 | ||
| HandTill2001 | 13 | |||
| MakefileR | 1 | 12 | ||
| maSAE | 1 | 12 | ||
| packager | 1 | 12 | ||
| rasciidoc | 1 | 12 | ||
| treePlotArea | 13 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.4.0
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'devtools', 'rasciidoc', 'rmarkdown', 'usethis'
VignetteBuilder package required for checking but not installed: ‘rasciidoc’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.4.0
Check: examples
Result: ERROR
Running examples in ‘cleanr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: check_package
> ### Title: Check a Package
> ### Aliases: check_package
>
> ### ** Examples
>
> # create a fake package first:
> package_path <- file.path(tempdir(), "fake")
> usethis::create_package(package_path, fields = NULL,
+ rstudio = FALSE, open = FALSE)
Error in loadNamespace(x) : there is no package called ‘usethis’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.4.0
Check: tests
Result: ERROR
Running ‘runit.R’ [0s/1s]
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/runit.R’ failed.
Complete output:
> #!/usr/bin/Rscript --vanilla
> is_failure <- function(result) {
+ res <- RUnit::getErrors(result)
+ names(res) <- tolower(names(res)) # soothe lintr
+ sum_of_exceptions <- res[["nerr"]] + res[["nfail"]]
+ fail <- as.logical(sum_of_exceptions)
+ return(fail)
+ }
>
> if (interactive()) {
+ pkgload::load_all(path = ".") # needed to use pkgload's shim version of
+ # base's system.file
+ unit_dir <- system.file("inst", "runit_tests", package = "cleanr")
+ } else {
+ require("cleanr", quietly = TRUE, character.only = TRUE) ||
+ pkgload::load_all(path = ".") # needed to use pkgload's shim version of
+ r_call <- commandArgs(trailingOnly = FALSE)
+ if (any(grepl("--file", r_call))) {
+ unit_dir <- file.path("inst", "runit_tests")
+ } else {
+ unit_dir <- system.file("runit_tests", package = "cleanr")
+ }
+ }
> if (! dir.exists(unit_dir)) {
+ stop("Can not find RUnit test directory ", unit_dir,
+ ". Try to (re)install the package first.")
+ }
> package_suite <- RUnit::defineTestSuite("cleanr_unit_test",
+ dirs = unit_dir,
+ testFileRegexp = "^.*\\.[rR]",
+ testFuncRegexp = "^test_+")
> test_result <- RUnit::runTestSuite(package_suite)
Executing test function test_check_nesting_depth ... Error in cleanr::check_nesting_depth(failing_function) :
found nesting depth 4, max_nesting_depth was 3
In addition: Warning messages:
1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
done successfully.
Executing test function test_check_return ... Error in cleanr::check_return(failing_function) :
found no return() statement at all.
In addition: Warning message:
In cleanr::check_return(failing_function) :
Just checking for a line starting with a return statement.
This is no check for all return paths being explicit.
done successfully.
Executing test function test_file_length ... Error in cleanr::check_file_length(function_file, max_file_length = 9) :
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: 24 lines in file.
done successfully.
Executing test function test_file_width ... Error in cleanr::check_file_width(function_file, max_file_width = 9) :
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 1 counts 48 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 2 counts 87 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 3 counts 28 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 4 counts 24 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 5 counts 28 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 6 counts 32 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 7 counts 36 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 8 counts 45 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 9 counts 17 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 10 counts 13 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 15 counts 48 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 16 counts 16 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 17 counts 28 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 18 counts 24 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 19 counts 28 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 20 counts 37 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 23 counts 16 characters.
done successfully.
Executing test function test_line_width ... Error in cleanr::check_line_width(failing_function, max_line_width = 9) :
line 1: found width 16 max_line_width was 9
line 2: found width 24 max_line_width was 9
line 3: found width 28 max_line_width was 9
line 4: found width 32 max_line_width was 9
line 5: found width 36 max_line_width was 9
line 6: found width 43 max_line_width was 9
line 7: found width 17 max_line_width was 9
line 8: found width 13 max_line_width was 9
done successfully.
Executing test function test_num_arguments ... Error in cleanr::check_num_arguments(failing_function, max_num_arguments = 1) :
found 2 arguments, max_num_arguments was 1
done successfully.
Executing test function test_num_lines ... Error in cleanr::check_num_lines(failing_function, max_lines = 9) :
found 10 lines, max_lines was 9
done successfully.
Executing test function test_num_lines_of_code ... Error in cleanr::check_num_lines_of_code(failing_function, max_lines = 9) :
found 10 lines of code, max_lines_of_code was 9
done successfully.
Executing test function test_get_function_body ... [1] "print(3)"
done successfully.
Executing test function test_options ... done successfully.
Executing test function test_s4_dircetory ... Error in methods::setMethod(f = "auc", methods::signature(object = "bincap"), :
no existing definition for function 'auc'. Probably due to failed S4 method loading.
In addition: Warning messages:
1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
3: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
4: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
5: In set_cleanr_options(max_lines_of_code = 40, overwrite = TRUE) :
maximum number of lines was less than maximum number of lines of code, resetting the former to the latter.
6: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
7: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
8: In getPackageName(where) :
Created a package name, '2025-12-06 13:51:55.292862', when none found
9: In getPackageName(where) :
Created a package name, '2025-12-06 13:51:55.349108', when none found
done successfully.
Executing test function test_s4_known_generic ... done successfully.
Executing test function test_s4_no_generic ... done successfully.
Executing test function test_s4_package ... Timing stopped at: 0 0 0
Error in loadNamespace(x) : there is no package called 'usethis'
done successfully.
Executing test function test_exception ... Error in eval(expr, envir = parent.frame()) : Hello, error!
In addition: Warning messages:
1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
done successfully.
Executing test function test_is_not_false ... done successfully.
Executing test function test_check_directory ... Error in check_directory(system.file("runit_tests", "source", "R", package = "cleanr")) :
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 2 counts 87 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R failing_function found nesting depth 4, max_nesting_depth was 3
failing_function line 1: found width 87 max_line_width was 80
failing_function found no return() statement at all.
In addition: Warning messages:
1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
3: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
4: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
5: In check_return(object, check_return = check_return) :
Just checking for a line starting with a return statement.
This is no check for all return paths being explicit.
6: In check_return(object, check_return = check_return) :
Just checking for a line starting with a return statement.
This is no check for all return paths being explicit.
done successfully.
Executing test function test_check_file ... Error in check_file(function_file) :
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 2 counts 87 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R failing_function found nesting depth 4, max_nesting_depth was 3
failing_function line 1: found width 87 max_line_width was 80
failing_function found no return() statement at all.
In addition: Warning messages:
1: In check_return(object, check_return = check_return) :
Just checking for a line starting with a return statement.
This is no check for all return paths being explicit.
2: In check_return(object, check_return = check_return) :
Just checking for a line starting with a return statement.
This is no check for all return paths being explicit.
Error in check_file(function_file, silly_arguemnt = "FIFI") :
got unkown argument(s): silly_arguemnt
done successfully.
Executing test function test_check_file_layout ... Error in check_file_layout(function_file, max_file_width = 10) :
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 1 counts 48 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 2 counts 87 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 3 counts 28 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 4 counts 24 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 5 counts 28 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 6 counts 32 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 7 counts 36 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 8 counts 45 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 9 counts 17 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 10 counts 13 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 15 counts 48 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 16 counts 16 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 17 counts 28 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 18 counts 24 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 19 counts 28 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 20 counts 37 characters.
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R: line 23 counts 16 characters.
done successfully.
Executing test function test_check_function_layout ... Error in check_function_layout(failing_function, max_line_width = 10) :
failing_function found nesting depth 4, max_nesting_depth was 3
failing_function line 1: found width 16 max_line_width was 10
line 2: found width 24 max_line_width was 10
line 3: found width 28 max_line_width was 10
line 4: found width 32 max_line_width was 10
line 5: found width 36 max_line_width was 10
line 6: found width 43 max_line_width was 10
line 7: found width 17 max_line_width was 10
line 8: found width 13 max_line_width was 10
failing_function found no return() statement at all.
In addition: Warning messages:
1: In check_return(object, check_return = check_return) :
Just checking for a line starting with a return statement.
This is no check for all return paths being explicit.
2: In check_return(object, check_return = check_return) :
Just checking for a line starting with a return statement.
This is no check for all return paths being explicit.
done successfully.
Executing test function test_check_functions_in_file ... Error in check_functions_in_file(function_file) :
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/source/R/functions.R failing_function found nesting depth 4, max_nesting_depth was 3
failing_function line 1: found width 87 max_line_width was 80
failing_function found no return() statement at all.
In addition: Warning messages:
1: In check_return(object, check_return = check_return) :
Just checking for a line starting with a return statement.
This is no check for all return paths being explicit.
2: In check_return(object, check_return = check_return) :
Just checking for a line starting with a return statement.
This is no check for all return paths being explicit.
done successfully.
> RUnit::printTextProtocol(test_result, showDetails = TRUE, fileName = "")
RUNIT TEST PROTOCOL -- Sat Dec 6 13:51:55 2025
***********************************************
Number of test functions: 21
Number of errors: 1
Number of failures: 0
1 Test Suite :
cleanr_unit_test - 21 test functions, 1 error, 0 failures
ERROR in test_s4_package: Error in loadNamespace(x) : there is no package called 'usethis'
Details
***************************
Test Suite: cleanr_unit_test
Test function regexp: ^test_+
Test file regexp: ^.*\.[rR]
Involved directory:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_checks.R
test_check_nesting_depth: (2 checks) ... OK (0.01 seconds)
test_check_return: (2 checks) ... OK (0 seconds)
test_file_length: (2 checks) ... OK (0 seconds)
test_file_width: (2 checks) ... OK (0 seconds)
test_line_width: (2 checks) ... OK (0 seconds)
test_num_arguments: (2 checks) ... OK (0 seconds)
test_num_lines: (2 checks) ... OK (0 seconds)
test_num_lines_of_code: (2 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_internals.R
test_get_function_body: (1 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_options.R
test_options: (8 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_s4.R
test_s4_dircetory: (1 checks) ... OK (0.08 seconds)
test_s4_known_generic: (1 checks) ... OK (0.01 seconds)
test_s4_no_generic: (1 checks) ... OK (0.01 seconds)
test_s4_package: ERROR !!
Error in loadNamespace(x) : there is no package called 'usethis'
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_throw.R
test_exception: (1 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_utils.R
test_is_not_false: (10 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_wrappers.R
test_check_directory: (2 checks) ... OK (0.03 seconds)
test_check_file: (3 checks) ... OK (0.02 seconds)
test_check_file_layout: (2 checks) ... OK (0 seconds)
test_check_function_layout: (2 checks) ... OK (0.02 seconds)
test_check_functions_in_file: (2 checks) ... OK (0.02 seconds)
> if (is_failure(test_result)) {
+ RUnit::printTextProtocol(test_result, showDetails = TRUE)
+ stop("RUnit failed.")
+ }
RUNIT TEST PROTOCOL -- Sat Dec 6 13:51:55 2025
***********************************************
Number of test functions: 21
Number of errors: 1
Number of failures: 0
1 Test Suite :
cleanr_unit_test - 21 test functions, 1 error, 0 failures
ERROR in test_s4_package: Error in loadNamespace(x) : there is no package called 'usethis'
Details
***************************
Test Suite: cleanr_unit_test
Test function regexp: ^test_+
Test file regexp: ^.*\.[rR]
Involved directory:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_checks.R
test_check_nesting_depth: (2 checks) ... OK (0.01 seconds)
test_check_return: (2 checks) ... OK (0 seconds)
test_file_length: (2 checks) ... OK (0 seconds)
test_file_width: (2 checks) ... OK (0 seconds)
test_line_width: (2 checks) ... OK (0 seconds)
test_num_arguments: (2 checks) ... OK (0 seconds)
test_num_lines: (2 checks) ... OK (0 seconds)
test_num_lines_of_code: (2 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_internals.R
test_get_function_body: (1 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_options.R
test_options: (8 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_s4.R
test_s4_dircetory: (1 checks) ... OK (0.08 seconds)
test_s4_known_generic: (1 checks) ... OK (0.01 seconds)
test_s4_no_generic: (1 checks) ... OK (0.01 seconds)
test_s4_package: ERROR !!
Error in loadNamespace(x) : there is no package called 'usethis'
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_throw.R
test_exception: (1 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_utils.R
test_is_not_false: (10 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/cleanr/runit_tests/runit_wrappers.R
test_check_directory: (2 checks) ... OK (0.03 seconds)
test_check_file: (3 checks) ... OK (0.02 seconds)
test_check_file_layout: (2 checks) ... OK (0 seconds)
test_check_function_layout: (2 checks) ... OK (0.02 seconds)
test_check_functions_in_file: (2 checks) ... OK (0.02 seconds)
Error: RUnit failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.4.0
Check: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: ERROR: 1, OK: 12
Version: 4.0.1
Check: package dependencies
Result: ERROR
Package required but not available: ‘roxygen2’
Packages suggested but not available for checking: 'knitr', 'rmarkdown'
VignetteBuilder package required for checking but not installed: ‘knitr’
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: WARN: 1, OK: 12
Version: 2.1.0
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'knitr', 'rmarkdown', 'devtools'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.1.0
Check: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: WARN: 1, OK: 12
Version: 1.11.1
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'covr', 'devtools', 'knitr', 'lintr', 'rasciidoc', 'rmarkdown',
'roxygen2', 'spelling', 'usethis'
VignetteBuilder packages required for checking but not installed:
'knitr', 'rasciidoc'
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.11.1
Check: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13
Current CRAN status: NOTE: 7, OK: 6
Version: 4.1.0
Check: Rd files
Result: NOTE
checkRd: (-1) NEWS.Rd:234: Escaped LaTeX specials: \_
checkRd: (-1) NEWS.Rd:257: Escaped LaTeX specials: \_ \_
checkRd: (-1) NEWS.Rd:258: Escaped LaTeX specials: \_ \_
checkRd: (-1) NEWS.Rd:259: Escaped LaTeX specials: \_
checkRd: (-1) NEWS.Rd:262: Escaped LaTeX specials: \_
checkRd: (-1) NEWS.Rd:265: Escaped LaTeX specials: \_
Flavors: r-devel-windows-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: WARN: 1, OK: 12
Version: 1.1.0
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking: 'knitr', 'rmarkdown'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.0
Check: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: WARN: 1, OK: 12
Version: 2.0.3
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'devtools', 'knitr', 'rmarkdown'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: ERROR: 1, OK: 12
Version: 1.15.3
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'covr', 'devtools', 'document', 'knitr', 'lintr', 'rasciidoc',
'rmarkdown', 'roxygen2', 'spelling', 'usethis'
VignetteBuilder package required for checking but not installed: ‘rasciidoc’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.15.3
Check: examples
Result: ERROR
Running examples in ‘packager-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: add_github_url_to_desc
> ### Title: Add a github URL to File 'DESCRIPTION'
> ### Aliases: add_github_url_to_desc
> ### Keywords: internal
>
> ### ** Examples
>
> path <- file.path(tempdir(), "myPackage")
> usethis::create_package(path, open = FALSE)
Error in loadNamespace(x) : there is no package called ‘usethis’
Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.15.3
Check: tests
Result: ERROR
Running ‘runit.R’ [1s/1s]
Running ‘testthat.R’ [1s/1s]
Running ‘tinytest.R’ [0s/0s]
Running the tests in ‘tests/runit.R’ failed.
Complete output:
> #!/usr/bin/Rscript --vanilla
> is_failure <- function(result) {
+ res <- RUnit::getErrors(result)
+ names(res) <- tolower(names(res)) # soothe lintr
+ sum_of_exceptions <- res[["nerr"]] + res[["nfail"]]
+ fail <- as.logical(sum_of_exceptions)
+ return(fail)
+ }
>
> if (interactive()) {
+ pkgload::load_all(path = ".") # needed to use pkgload's shim version of
+ # base's system.file
+ unit_dir <- system.file("inst", "runit_tests", package = "packager")
+ } else {
+ require("packager", quietly = TRUE, character.only = TRUE) ||
+ pkgload::load_all(path = ".") # needed to use pkgload's shim version of
+ r_call <- commandArgs(trailingOnly = FALSE)
+ if (any(grepl("--file", r_call))) {
+ unit_dir <- file.path("inst", "runit_tests")
+ } else {
+ unit_dir <- system.file("runit_tests", package = "packager")
+ }
+ }
> if (! dir.exists(unit_dir)) {
+ stop("Can not find RUnit test directory ", unit_dir,
+ ". Try to (re)install the package first.")
+ }
>
> test_file_regexp <- if (isTRUE(fritools::is_running_on_gitlab_com())) {
+ "^test.*\\.[rR]$"
+ } else {
+ "^test.*\\.[rR]$"
+ }
gimli1 unix
> package_suite <- RUnit::defineTestSuite("packager_unit_test",
+ dirs = unit_dir,
+ testFileRegexp = test_file_regexp,
+ testFuncRegexp = "^test_+")
> test_result <- RUnit::runTestSuite(package_suite)
Executing test function test_convert_vigentte ... done successfully.
Executing test function test_union_write ... done successfully.
Executing test function test_use_git ... * Initialising repo
* Adding `.Rproj.user`, `.Rhistory`, `.RData` to /tmp/RtmpcSFISU/prutp/.gitignore
* Adding files and committing
* Git is already initialized
done successfully.
Executing test function test_use_git_ignore ... * Adding `foo`, `bar` to /tmp/RtmpcSFISU/prutp/.gitignore
done successfully.
Executing test function test_git_tag ... done successfully.
Executing test function test_git_tag_create ... done successfully.
Executing test function test_repo ... done successfully.
Executing test function test_get_news ... Timing stopped at: 0.031 0.024 0.077
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
In addition: Warning messages:
1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
3: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
4: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
5: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
6: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
7: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
8: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
done successfully.
Executing test function test_git ... Timing stopped at: 0.008 0 0.008
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
done successfully.
Executing test function test_is_force ... done successfully.
Executing test function test_is_null_or_true ... done successfully.
Executing test function test_travis ... done successfully.
Executing test function test_url ... Error in packager:::get_git_url(url, return_only_one = TRUE, force = FALSE, :
Found multiple github URL.
In addition: Warning messages:
1: In dir.create(path) : '/tmp/RtmpcSFISU/prutp' already exists
2: In packager:::get_git_url(url, return_only_one = TRUE, type = "github") :
Found multiple github URL, using the first.
done successfully.
Executing test function test_warn_and_stop ... fooError in packager:::warn_and_stop("foo") : foo
done successfully.
Executing test function test_create_rmd ... Timing stopped at: 0.018 0 0.018
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
In addition: Warning messages:
1: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
2: In RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
done successfully.
Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
Executing test function test_submit ... Loading required package: roxygen2
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called 'roxygen2'
done successfully.
Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
Executing test function test_exception ... Error in eval(expr, envir = parent.frame()) : Hello, error!
done successfully.
Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: Marsaglia-Multicarry has poor statistical properties
Warning in RNGkind(kind = testSuite$rngKind, normal.kind = testSuite$rngNormalKind) :
RNGkind: severe deviations from normality for Kinderman-Ramage + Marsaglia-Multicarry
Executing test function test_add_commit ... Error in git_commit(message = message, author = author, committer = committer, :
No staged files to commit. Run git_add() to select files.
done successfully.
Executing test function test_githuburl ... Timing stopped at: 0.012 0.002 0.026
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
done successfully.
Executing test function test_news ... Timing stopped at: 0.009 0 0.01
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
done successfully.
> RUnit::printTextProtocol(test_result, showDetails = TRUE, fileName = "")
RUNIT TEST PROTOCOL -- Sat Dec 6 15:19:55 2025
***********************************************
Number of test functions: 20
Number of errors: 5
Number of failures: 0
1 Test Suite :
packager_unit_test - 20 test functions, 5 errors, 0 failures
ERROR in test_get_news: Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
ERROR in test_git: Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
ERROR in test_create_rmd: Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
ERROR in test_githuburl: Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
ERROR in test_news: Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
Details
***************************
Test Suite: packager_unit_test
Test function regexp: ^test_+
Test file regexp: ^test.*\.[rR]$
Involved directory:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_convert_vignette.R
test_convert_vigentte: (4 checks) ... OK (0.05 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_devtools_modified.R
test_union_write: (2 checks) ... OK (0 seconds)
test_use_git: (2 checks) ... OK (0.15 seconds)
test_use_git_ignore: (2 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_git.R
test_git_tag: (0 checks) ... OK (0 seconds)
test_git_tag_create: (0 checks) ... OK (0 seconds)
test_repo: (10 checks) ... OK (0.03 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_internal.R
test_get_news: ERROR !!
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
test_git: ERROR !!
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
test_is_force: (1 checks) ... OK (0 seconds)
test_is_null_or_true: (3 checks) ... OK (0 seconds)
test_travis: (0 checks) ... OK (0 seconds)
test_url: (7 checks) ... OK (0.02 seconds)
test_warn_and_stop: (1 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_main.R
test_create_rmd: ERROR !!
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_submit.R
test_submit: (0 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_throw.R
test_exception: (1 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_tools.R
test_add_commit: (3 checks) ... OK (0.04 seconds)
test_githuburl: ERROR !!
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
test_news: ERROR !!
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
> if (is_failure(test_result)) {
+ RUnit::printTextProtocol(test_result, showDetails = TRUE)
+ stop("RUnit failed.")
+ }
RUNIT TEST PROTOCOL -- Sat Dec 6 15:19:55 2025
***********************************************
Number of test functions: 20
Number of errors: 5
Number of failures: 0
1 Test Suite :
packager_unit_test - 20 test functions, 5 errors, 0 failures
ERROR in test_get_news: Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
ERROR in test_git: Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
ERROR in test_create_rmd: Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
ERROR in test_githuburl: Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
ERROR in test_news: Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
Details
***************************
Test Suite: packager_unit_test
Test function regexp: ^test_+
Test file regexp: ^test.*\.[rR]$
Involved directory:
/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_convert_vignette.R
test_convert_vigentte: (4 checks) ... OK (0.05 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_devtools_modified.R
test_union_write: (2 checks) ... OK (0 seconds)
test_use_git: (2 checks) ... OK (0.15 seconds)
test_use_git_ignore: (2 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_git.R
test_git_tag: (0 checks) ... OK (0 seconds)
test_git_tag_create: (0 checks) ... OK (0 seconds)
test_repo: (10 checks) ... OK (0.03 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_internal.R
test_get_news: ERROR !!
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
test_git: ERROR !!
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
test_is_force: (1 checks) ... OK (0 seconds)
test_is_null_or_true: (3 checks) ... OK (0 seconds)
test_travis: (0 checks) ... OK (0 seconds)
test_url: (7 checks) ... OK (0.02 seconds)
test_warn_and_stop: (1 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_main.R
test_create_rmd: ERROR !!
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_submit.R
test_submit: (0 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_throw.R
test_exception: (1 checks) ... OK (0 seconds)
---------------------------
Test file: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/packager/runit_tests/test_tools.R
test_add_commit: (3 checks) ... OK (0.04 seconds)
test_githuburl: ERROR !!
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
test_news: ERROR !!
Error in fritools::get_package_version("roxygen2") :
there is no package called 'roxygen2'
Error: RUnit failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.15.3
Check: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: ERROR: 1, OK: 12
Version: 4.1.1
Check: package dependencies
Result: ERROR
Package required but not available: ‘knitr’
Packages suggested but not available for checking: 'devtools', 'rmarkdown'
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13