- using R Under development (unstable) (2026-11-17 r90926 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-11-19 15:34:28 UTC
- checking for file 'scriptName/DESCRIPTION' ... OK
- this is package 'scriptName' version '1.0.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 'scriptName' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [1s] 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 ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [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 ... [3s] 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 examples ... [1s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [12s] ERROR
Running 'testthat.R' [11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(scriptName)
>
> test_check("scriptName")
Saving _problems/test.all-11.R
Saving _problems/test.all-12.R
Saving _problems/test.all-13.R
Saving _problems/test.all-22.R
Saving _problems/test.all-23.R
Saving _problems/test.all-24.R
Saving _problems/test.all-33.R
Saving _problems/test.all-34.R
Saving _problems/test.all-35.R
Saving _problems/test.all-44.R
Saving _problems/test.all-45.R
Saving _problems/test.all-46.R
[ FAIL 12 | WARN 0 | SKIP 0 | PASS 0 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test.all.R:11:5'): functions work under source() ──────────────────
Expected `source_file("current_filename.R")` to be identical to " chr \"current_filename.R\"".
Differences:
1/1 mismatches
x[1]: "chr \"current_filename.R\""
y[1]: " chr \"current_filename.R\""
── Failure ('test.all.R:12:5'): functions work under source() ──────────────────
Expected `source_file("current_source_filename.R")` to be identical to " chr \"current_source_filename.R\"".
Differences:
1/1 mismatches
x[1]: "chr \"current_source_filename.R\""
y[1]: " chr \"current_source_filename.R\""
── Failure ('test.all.R:13:5'): functions work under source() ──────────────────
Expected `source_file("current_cli_filename.R")` to be identical to " NULL".
Differences:
1/1 mismatches
x[1]: "NULL"
y[1]: " NULL"
── Failure ('test.all.R:22:5'): functions work under R --file ──────────────────
Expected `run_r("current_filename.R")` to be identical to " chr \"current_filename.R\"".
Differences:
1/1 mismatches
x[1]: "chr \"current_filename.R\""
y[1]: " chr \"current_filename.R\""
── Failure ('test.all.R:23:5'): functions work under R --file ──────────────────
Expected `run_r("current_source_filename.R")` to be identical to " NULL".
Differences:
1/1 mismatches
x[1]: "NULL"
y[1]: " NULL"
── Failure ('test.all.R:24:5'): functions work under R --file ──────────────────
Expected `run_r("current_cli_filename.R")` to be identical to " chr \"current_cli_filename.R\"".
Differences:
1/1 mismatches
x[1]: "chr \"current_cli_filename.R\""
y[1]: " chr \"current_cli_filename.R\""
── Failure ('test.all.R:33:5'): functions work under R -f ──────────────────────
Expected `run_r("current_filename.R")` to be identical to " chr \"current_filename.R\"".
Differences:
1/1 mismatches
x[1]: "chr \"current_filename.R\""
y[1]: " chr \"current_filename.R\""
── Failure ('test.all.R:34:5'): functions work under R -f ──────────────────────
Expected `run_r("current_source_filename.R")` to be identical to " NULL".
Differences:
1/1 mismatches
x[1]: "NULL"
y[1]: " NULL"
── Failure ('test.all.R:35:5'): functions work under R -f ──────────────────────
Expected `run_r("current_cli_filename.R")` to be identical to " chr \"current_cli_filename.R\"".
Differences:
1/1 mismatches
x[1]: "chr \"current_cli_filename.R\""
y[1]: " chr \"current_cli_filename.R\""
── Failure ('test.all.R:44:5'): functions work under Rscript ───────────────────
Expected `run_rscript("current_filename.R")` to be identical to " chr \"current_filename.R\"".
Differences:
1/1 mismatches
x[1]: "chr \"current_filename.R\""
y[1]: " chr \"current_filename.R\""
── Failure ('test.all.R:45:5'): functions work under Rscript ───────────────────
Expected `run_rscript("current_source_filename.R")` to be identical to " NULL".
Differences:
1/1 mismatches
x[1]: "NULL"
y[1]: " NULL"
── Failure ('test.all.R:46:5'): functions work under Rscript ───────────────────
Expected `run_rscript("current_cli_filename.R")` to be identical to " chr \"current_cli_filename.R\"".
Differences:
1/1 mismatches
x[1]: "chr \"current_cli_filename.R\""
y[1]: " chr \"current_cli_filename.R\""
[ FAIL 12 | WARN 0 | SKIP 0 | PASS 0 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [26s] OK
- checking HTML version of manual ... [0s] OK
- DONE
Status: 1 ERROR