CRAN Package Check Results for Maintainer ‘Simon Potter <simon at sjp.co.nz>’

Last updated on 2022-04-24 03:53:04 CEST.

Package ERROR OK
selectr 1 11

Package selectr

Current CRAN status: ERROR: 1, OK: 11

Version: 0.4-2
Check: tests
Result: ERROR
     Running ‘test-all.R’ [8s/8s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > library(selectr)
     >
     > test_check("selectr")
     [ FAIL 1 | WARN 8 | SKIP 1 | PASS 602 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • empty test (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-translation.R:111:5): translation from parsed objects to XPath works ──
     Error in `if (localeToCharset()[1] == "UTF-8") {
     expect_that(xpath("di v"), equals("*[(name() = 'di v')]"))
     expect_that(xpath("[h ref]"), equals("*[(attribute::*[name() = 'h ref'])]"))
     }`: missing value where TRUE/FALSE needed
    
     [ FAIL 1 | WARN 8 | SKIP 1 | PASS 602 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64