CRAN Package Check Results for Package covr

Last updated on 2023-09-30 14:51:09 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.6.2 6.79 151.21 158.00 NOTE
r-devel-linux-x86_64-debian-gcc 3.6.2 5.13 118.28 123.41 ERROR
r-devel-linux-x86_64-fedora-clang 3.6.2 198.19 ERROR
r-devel-linux-x86_64-fedora-gcc 3.6.2 243.21 ERROR
r-devel-windows-x86_64 3.6.2 9.00 206.00 215.00 ERROR
r-patched-linux-x86_64 3.6.2 6.21 155.37 161.58 OK
r-release-linux-x86_64 3.6.2 6.98 156.23 163.21 OK
r-release-macos-arm64 3.6.2 120.00 OK
r-release-macos-x86_64 3.6.2 164.00 OK
r-release-windows-x86_64 3.6.2 10.00 250.00 260.00 OK
r-oldrel-macos-arm64 3.6.2 89.00 OK
r-oldrel-macos-x86_64 3.6.2 127.00 OK
r-oldrel-windows-x86_64 3.6.2 12.00 257.00 269.00 OK

Check Details

Version: 3.6.2
Check: Rd \usage sections
Result: NOTE
    Documented arguments not in \usage in documentation object 'update_current_test':
     ‘key’
    
    Functions with \usage entries need to have the appropriate \alias
    entries, and all their arguments documented.
    The \usage entries must correspond to syntactically valid R code.
    See chapter ‘Writing R documentation files’ in the ‘Writing R
    Extensions’ manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 3.6.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [85s/188s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > ops <- options("crayon.enabled" = FALSE, warn = 1)
     > library(testthat)
     > library("covr")
     >
     > # Skip tests on Solaris as gcc is not in the PATH and I do not have an easy way
     > # to mimic the CRAN build environment
     > if (!tolower(Sys.info()[["sysname"]]) == "sunos") {
     + Sys.setenv("R_TESTS" = "")
     + test_check("covr")
     + }
     [ FAIL 7 | WARN 0 | SKIP 10 | PASS 291 ]
    
     ══ Skipped tests (10) ══════════════════════════════════════════════════════════
     • On CRAN (8): 'test-Compiled.R:3:3', 'test-Compiled.R:34:3',
     'test-Compiled.R:46:3', 'test-Compiled.R:61:3', 'test-Compiled.R:76:3',
     'test-Compiled.R:84:3', 'test-tally_coverage.R:2:3', 'test-utils.R:46:3'
     • getRversion() >= "4.0.0" is TRUE (1): 'test-utils.R:37:3'
     • is_r_devel() is TRUE (1): 'test-R6.R:6:3'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-braceless.R:65:3'): switch with default value ────────────────
     length(zero_coverage(code_coverage(f, "f(\"a\"); f(\"b\"); f(\"c\")"))$line) not equal to 1.
     1/1 mismatches
     [1] 0 - 1 == -1
     ── Failure ('test-braceless.R:68:3'): switch with default value ────────────────
     length(zero_coverage(code_coverage(f, "f(\"a\"); f(\"c\")"))$line) not equal to 2.
     1/1 mismatches
     [1] 1 - 2 == -1
     ── Failure ('test-braceless.R:84:3'): switch with drop through ─────────────────
     res$first_line not equal to c(2, 4, 5, 6).
     Lengths differ: 3 is not 4
     ── Failure ('test-braceless.R:85:3'): switch with drop through ─────────────────
     res$value not equal to c(3, 2, 1, 0).
     Lengths differ: 3 is not 4
     ── Failure ('test-null.R:21:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv2) not equal to 100.
     1/1 mismatches
     [1] NaN - 100 == NaN
     ── Failure ('test-null.R:23:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv3) not equal to 50.
     1/1 mismatches
     [1] 100 - 50 == 50
     ── Failure ('test-null.R:25:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv4) not equal to 50.
     1/1 mismatches
     [1] 100 - 50 == 50
    
     [ FAIL 7 | WARN 0 | SKIP 10 | PASS 291 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.6.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [135s/146s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > ops <- options("crayon.enabled" = FALSE, warn = 1)
     > library(testthat)
     > library("covr")
     >
     > # Skip tests on Solaris as gcc is not in the PATH and I do not have an easy way
     > # to mimic the CRAN build environment
     > if (!tolower(Sys.info()[["sysname"]]) == "sunos") {
     + Sys.setenv("R_TESTS" = "")
     + test_check("covr")
     + }
     [ FAIL 7 | WARN 0 | SKIP 10 | PASS 291 ]
    
     ══ Skipped tests (10) ══════════════════════════════════════════════════════════
     • On CRAN (8): 'test-Compiled.R:3:3', 'test-Compiled.R:34:3',
     'test-Compiled.R:46:3', 'test-Compiled.R:61:3', 'test-Compiled.R:76:3',
     'test-Compiled.R:84:3', 'test-tally_coverage.R:2:3', 'test-utils.R:46:3'
     • getRversion() >= "4.0.0" is TRUE (1): 'test-utils.R:37:3'
     • is_r_devel() is TRUE (1): 'test-R6.R:6:3'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-braceless.R:65:3'): switch with default value ────────────────
     length(zero_coverage(code_coverage(f, "f(\"a\"); f(\"b\"); f(\"c\")"))$line) not equal to 1.
     1/1 mismatches
     [1] 0 - 1 == -1
     ── Failure ('test-braceless.R:68:3'): switch with default value ────────────────
     length(zero_coverage(code_coverage(f, "f(\"a\"); f(\"c\")"))$line) not equal to 2.
     1/1 mismatches
     [1] 1 - 2 == -1
     ── Failure ('test-braceless.R:84:3'): switch with drop through ─────────────────
     res$first_line not equal to c(2, 4, 5, 6).
     Lengths differ: 3 is not 4
     ── Failure ('test-braceless.R:85:3'): switch with drop through ─────────────────
     res$value not equal to c(3, 2, 1, 0).
     Lengths differ: 3 is not 4
     ── Failure ('test-null.R:21:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv2) not equal to 100.
     1/1 mismatches
     [1] NaN - 100 == NaN
     ── Failure ('test-null.R:23:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv3) not equal to 50.
     1/1 mismatches
     [1] 100 - 50 == 50
     ── Failure ('test-null.R:25:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv4) not equal to 50.
     1/1 mismatches
     [1] 100 - 50 == 50
    
     [ FAIL 7 | WARN 0 | SKIP 10 | PASS 291 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 3.6.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [167s/182s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > ops <- options("crayon.enabled" = FALSE, warn = 1)
     > library(testthat)
     > library("covr")
     >
     > # Skip tests on Solaris as gcc is not in the PATH and I do not have an easy way
     > # to mimic the CRAN build environment
     > if (!tolower(Sys.info()[["sysname"]]) == "sunos") {
     + Sys.setenv("R_TESTS" = "")
     + test_check("covr")
     + }
     [ FAIL 7 | WARN 0 | SKIP 10 | PASS 291 ]
    
     ══ Skipped tests (10) ══════════════════════════════════════════════════════════
     • On CRAN (8): 'test-Compiled.R:3:3', 'test-Compiled.R:34:3',
     'test-Compiled.R:46:3', 'test-Compiled.R:61:3', 'test-Compiled.R:76:3',
     'test-Compiled.R:84:3', 'test-tally_coverage.R:2:3', 'test-utils.R:46:3'
     • getRversion() >= "4.0.0" is TRUE (1): 'test-utils.R:37:3'
     • is_r_devel() is TRUE (1): 'test-R6.R:6:3'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-braceless.R:65:3'): switch with default value ────────────────
     length(zero_coverage(code_coverage(f, "f(\"a\"); f(\"b\"); f(\"c\")"))$line) not equal to 1.
     1/1 mismatches
     [1] 0 - 1 == -1
     ── Failure ('test-braceless.R:68:3'): switch with default value ────────────────
     length(zero_coverage(code_coverage(f, "f(\"a\"); f(\"c\")"))$line) not equal to 2.
     1/1 mismatches
     [1] 1 - 2 == -1
     ── Failure ('test-braceless.R:84:3'): switch with drop through ─────────────────
     res$first_line not equal to c(2, 4, 5, 6).
     Lengths differ: 3 is not 4
     ── Failure ('test-braceless.R:85:3'): switch with drop through ─────────────────
     res$value not equal to c(3, 2, 1, 0).
     Lengths differ: 3 is not 4
     ── Failure ('test-null.R:21:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv2) not equal to 100.
     1/1 mismatches
     [1] NaN - 100 == NaN
     ── Failure ('test-null.R:23:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv3) not equal to 50.
     1/1 mismatches
     [1] 100 - 50 == 50
     ── Failure ('test-null.R:25:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv4) not equal to 50.
     1/1 mismatches
     [1] 100 - 50 == 50
    
     [ FAIL 7 | WARN 0 | SKIP 10 | PASS 291 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 3.6.2
Check: tests
Result: ERROR
     Running 'testthat.R' [143s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > ops <- options("crayon.enabled" = FALSE, warn = 1)
     > library(testthat)
     > library("covr")
     >
     > # Skip tests on Solaris as gcc is not in the PATH and I do not have an easy way
     > # to mimic the CRAN build environment
     > if (!tolower(Sys.info()[["sysname"]]) == "sunos") {
     + Sys.setenv("R_TESTS" = "")
     + test_check("covr")
     + }
     [ FAIL 7 | WARN 0 | SKIP 13 | PASS 288 ]
    
     ══ Skipped tests (13) ══════════════════════════════════════════════════════════
     • On CRAN (8): 'test-Compiled.R:3:3', 'test-Compiled.R:34:3',
     'test-Compiled.R:46:3', 'test-Compiled.R:61:3', 'test-Compiled.R:76:3',
     'test-Compiled.R:84:3', 'test-tally_coverage.R:2:3', 'test-utils.R:46:3'
     • On Windows (3): 'test-parallel.R:5:3', 'test-parallel.R:16:3',
     'test-parallel.R:37:3'
     • getRversion() >= "4.0.0" is TRUE (1): 'test-utils.R:37:3'
     • is_r_devel() is TRUE (1): 'test-R6.R:6:3'
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure ('test-braceless.R:65:3'): switch with default value ────────────────
     length(zero_coverage(code_coverage(f, "f(\"a\"); f(\"b\"); f(\"c\")"))$line) not equal to 1.
     1/1 mismatches
     [1] 0 - 1 == -1
     ── Failure ('test-braceless.R:68:3'): switch with default value ────────────────
     length(zero_coverage(code_coverage(f, "f(\"a\"); f(\"c\")"))$line) not equal to 2.
     1/1 mismatches
     [1] 1 - 2 == -1
     ── Failure ('test-braceless.R:84:3'): switch with drop through ─────────────────
     res$first_line not equal to c(2, 4, 5, 6).
     Lengths differ: 3 is not 4
     ── Failure ('test-braceless.R:85:3'): switch with drop through ─────────────────
     res$value not equal to c(3, 2, 1, 0).
     Lengths differ: 3 is not 4
     ── Failure ('test-null.R:21:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv2) not equal to 100.
     1/1 mismatches
     [1] NaN - 100 == NaN
     ── Failure ('test-null.R:23:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv3) not equal to 50.
     1/1 mismatches
     [1] 100 - 50 == 50
     ── Failure ('test-null.R:25:3'): coverage of functions with NULL constructs ────
     percent_coverage(cv4) not equal to 50.
     1/1 mismatches
     [1] 100 - 50 == 50
    
     [ FAIL 7 | WARN 0 | SKIP 13 | PASS 288 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64