CRAN Package Check Results for Package scriptName

Last updated on 2019-02-11 16:55:52 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 1.14 23.19 24.33 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.0 0.89 19.34 20.23 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 30.47 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.0 28.35 ERROR
r-devel-windows-ix86+x86_64 1.0.0 3.00 56.00 59.00 ERROR
r-patched-linux-x86_64 1.0.0 0.83 22.02 22.85 ERROR
r-patched-solaris-x86 1.0.0 45.70 ERROR
r-release-linux-x86_64 1.0.0 0.80 22.25 23.05 ERROR
r-release-windows-ix86+x86_64 1.0.0 3.00 49.00 52.00 ERROR
r-release-osx-x86_64 1.0.0 OK
r-oldrel-windows-ix86+x86_64 1.0.0 3.00 36.00 39.00 ERROR
r-oldrel-osx-x86_64 1.0.0 OK

Check Details

Version: 1.0.0
Check: examples
Result: ERROR
    Running examples in ‘scriptName-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: current_filename
    > ### Title: Determine a script's filename from within the script itself
    > ### Aliases: current_filename current_source_filename current_cli_filename
    >
    > ### ** Examples
    >
    > # Put this in example.R and try running source("example.R")
    > # and `Rscript example.R`
    > filename <- current_filename()
    Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/8s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(scriptName)
     >
     > test_check("scriptName")
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 1. Failure: functions work under R --file (@test.all.R#22) ─────────────────
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 2. Failure: functions work under R --file (@test.all.R#23) ─────────────────
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 3. Failure: functions work under R -f (@test.all.R#33) ─────────────────────
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 4. Failure: functions work under R -f (@test.all.R#34) ─────────────────────
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 5. Failure: functions work under Rscript (@test.all.R#44) ──────────────────
     run_rscript("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 6. Failure: functions work under Rscript (@test.all.R#45) ──────────────────
     run_rscript("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 12 SKIPPED: 0 FAILED: 6
     1. Failure: functions work under R --file (@test.all.R#22)
     2. Failure: functions work under R --file (@test.all.R#23)
     3. Failure: functions work under R -f (@test.all.R#33)
     4. Failure: functions work under R -f (@test.all.R#34)
     5. Failure: functions work under Rscript (@test.all.R#44)
     6. Failure: functions work under Rscript (@test.all.R#45)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-release-linux-x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/11s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(scriptName)
     >
     > test_check("scriptName")
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 1. Failure: functions work under R --file (@test.all.R#22) ─────────────────
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 2. Failure: functions work under R --file (@test.all.R#23) ─────────────────
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 3. Failure: functions work under R -f (@test.all.R#33) ─────────────────────
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 4. Failure: functions work under R -f (@test.all.R#34) ─────────────────────
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 5. Failure: functions work under Rscript (@test.all.R#44) ──────────────────
     run_rscript("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 6. Failure: functions work under Rscript (@test.all.R#45) ──────────────────
     run_rscript("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 12 SKIPPED: 0 FAILED: 6
     1. Failure: functions work under R --file (@test.all.R#22)
     2. Failure: functions work under R --file (@test.all.R#23)
     3. Failure: functions work under R -f (@test.all.R#33)
     4. Failure: functions work under R -f (@test.all.R#34)
     5. Failure: functions work under Rscript (@test.all.R#44)
     6. Failure: functions work under Rscript (@test.all.R#45)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: examples
Result: ERROR
    Running examples in ‘scriptName-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: current_filename
    > ### Title: Determine a script's filename from within the script itself
    > ### Aliases: current_filename current_source_filename current_cli_filename
    >
    > ### ** Examples
    >
    > # Put this in example.R and try running source("example.R")
    > # and `Rscript example.R`
    > filename <- current_filename()
    Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(scriptName)
     >
     > test_check("scriptName")
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 1. Failure: functions work under R --file (@test.all.R#22) ─────────────────
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 2. Failure: functions work under R --file (@test.all.R#23) ─────────────────
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 3. Failure: functions work under R -f (@test.all.R#33) ─────────────────────
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 4. Failure: functions work under R -f (@test.all.R#34) ─────────────────────
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 5. Failure: functions work under Rscript (@test.all.R#44) ──────────────────
     run_rscript("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 6. Failure: functions work under Rscript (@test.all.R#45) ──────────────────
     run_rscript("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 12 SKIPPED: 0 FAILED: 6
     1. Failure: functions work under R --file (@test.all.R#22)
     2. Failure: functions work under R --file (@test.all.R#23)
     3. Failure: functions work under R -f (@test.all.R#33)
     4. Failure: functions work under R -f (@test.all.R#34)
     5. Failure: functions work under Rscript (@test.all.R#44)
     6. Failure: functions work under Rscript (@test.all.R#45)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.0
Check: tests
Result: ERROR
     Running 'testthat.R' [11s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(scriptName)
     >
     > test_check("scriptName")
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 1. Failure: functions work under R --file (@test.all.R#22) -----------------
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 2. Failure: functions work under R --file (@test.all.R#23) -----------------
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 3. Failure: functions work under R -f (@test.all.R#33) ---------------------
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 4. Failure: functions work under R -f (@test.all.R#34) ---------------------
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 5. Failure: functions work under Rscript (@test.all.R#44) ------------------
     run_rscript("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 6. Failure: functions work under Rscript (@test.all.R#45) ------------------
     run_rscript("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     == testthat results ===========================================================
     OK: 12 SKIPPED: 0 FAILED: 6
     1. Failure: functions work under R --file (@test.all.R#22)
     2. Failure: functions work under R --file (@test.all.R#23)
     3. Failure: functions work under R -f (@test.all.R#33)
     4. Failure: functions work under R -f (@test.all.R#34)
     5. Failure: functions work under Rscript (@test.all.R#44)
     6. Failure: functions work under Rscript (@test.all.R#45)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/7s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(scriptName)
     >
     > test_check("scriptName")
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 1. Failure: functions work under R --file (@test.all.R#22) ─────────────────
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 2. Failure: functions work under R --file (@test.all.R#23) ─────────────────
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 3. Failure: functions work under R -f (@test.all.R#33) ─────────────────────
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 4. Failure: functions work under R -f (@test.all.R#34) ─────────────────────
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 5. Failure: functions work under Rscript (@test.all.R#44) ──────────────────
     run_rscript("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 6. Failure: functions work under Rscript (@test.all.R#45) ──────────────────
     run_rscript("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 12 SKIPPED: 0 FAILED: 6
     1. Failure: functions work under R --file (@test.all.R#22)
     2. Failure: functions work under R --file (@test.all.R#23)
     3. Failure: functions work under R -f (@test.all.R#33)
     4. Failure: functions work under R -f (@test.all.R#34)
     5. Failure: functions work under Rscript (@test.all.R#44)
     6. Failure: functions work under Rscript (@test.all.R#45)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [11s/15s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(scriptName)
     >
     > test_check("scriptName")
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 1. Failure: functions work under R --file (@test.all.R#22) ─────────────────
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 2. Failure: functions work under R --file (@test.all.R#23) ─────────────────
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 3. Failure: functions work under R -f (@test.all.R#33) ─────────────────────
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 4. Failure: functions work under R -f (@test.all.R#34) ─────────────────────
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 5. Failure: functions work under Rscript (@test.all.R#44) ──────────────────
     run_rscript("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     ── 6. Failure: functions work under Rscript (@test.all.R#45) ──────────────────
     run_rscript("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 12 SKIPPED: 0 FAILED: 6
     1. Failure: functions work under R --file (@test.all.R#22)
     2. Failure: functions work under R --file (@test.all.R#23)
     3. Failure: functions work under R -f (@test.all.R#33)
     4. Failure: functions work under R -f (@test.all.R#34)
     5. Failure: functions work under Rscript (@test.all.R#44)
     6. Failure: functions work under Rscript (@test.all.R#45)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 1.0.0
Check: tests
Result: ERROR
     Running 'testthat.R' [9s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(scriptName)
     >
     > test_check("scriptName")
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 1. Failure: functions work under R --file (@test.all.R#22) -----------------
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 2. Failure: functions work under R --file (@test.all.R#23) -----------------
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 3. Failure: functions work under R -f (@test.all.R#33) ---------------------
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 4. Failure: functions work under R -f (@test.all.R#34) ---------------------
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 5. Failure: functions work under Rscript (@test.all.R#44) ------------------
     run_rscript("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 6. Failure: functions work under Rscript (@test.all.R#45) ------------------
     run_rscript("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     == testthat results ===========================================================
     OK: 12 SKIPPED: 0 FAILED: 6
     1. Failure: functions work under R --file (@test.all.R#22)
     2. Failure: functions work under R --file (@test.all.R#23)
     3. Failure: functions work under R -f (@test.all.R#33)
     4. Failure: functions work under R -f (@test.all.R#34)
     5. Failure: functions work under Rscript (@test.all.R#44)
     6. Failure: functions work under Rscript (@test.all.R#45)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running 'testthat.R' [7s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(scriptName)
     >
     > test_check("scriptName")
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 1. Failure: functions work under R --file (@test.all.R#22) -----------------
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 2. Failure: functions work under R --file (@test.all.R#23) -----------------
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 3. Failure: functions work under R -f (@test.all.R#33) ---------------------
     run_r("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 4. Failure: functions work under R -f (@test.all.R#34) ---------------------
     run_r("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 5. Failure: functions work under Rscript (@test.all.R#44) ------------------
     run_rscript("current_filename.R") not identical to " chr \"current_filename.R\"".
     Lengths differ: 0 is not 1
    
     Error: Predicate functions must return a single `TRUE` or `FALSE`, not a logical vector of length 0
     Execution halted
     -- 6. Failure: functions work under Rscript (@test.all.R#45) ------------------
     run_rscript("current_source_filename.R") not identical to " NULL".
     Lengths differ: 0 is not 1
    
     == testthat results ===========================================================
     OK: 12 SKIPPED: 0 FAILED: 6
     1. Failure: functions work under R --file (@test.all.R#22)
     2. Failure: functions work under R --file (@test.all.R#23)
     3. Failure: functions work under R -f (@test.all.R#33)
     4. Failure: functions work under R -f (@test.all.R#34)
     5. Failure: functions work under Rscript (@test.all.R#44)
     6. Failure: functions work under Rscript (@test.all.R#45)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64