Last updated on 2025-04-19 06:50:02 CEST.
Package | ERROR | OK |
---|---|---|
klassR | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.2
Check: tests
Result: ERROR
Running 'testthat.R' [82s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(klassR)
>
> test_check("klassR")
Timeout was reached [data.ssb.no]: SSL/TLS connection timeout
Timeout was reached [data.ssb.no]: SSL/TLS connection timeout
Timeout was reached [data.ssb.no]: SSL/TLS connection timeout
Timeout was reached [data.ssb.no]: SSL/TLS connection timeout
Connection failed with error code 404
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 90 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-UpdateKlass.R:10:3'): update_klass gir riktig resultat ved enkle endringer ──
Error: Argument 'txt' must be a JSON string, URL or file.
Backtrace:
▆
1. └─jsonlite::fromJSON(klassR:::GetUrl2(changes_url), flatten = TRUE) at test-UpdateKlass.R:10:3
2. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.")
── Error ('test-UpdateKlass.R:52:3'): update_klass gir riktig resultat ved sammenslåtte koder ──
Error: Argument 'txt' must be a JSON string, URL or file.
Backtrace:
▆
1. └─jsonlite::fromJSON(klassR:::GetUrl2(changes_url), flatten = TRUE) at test-UpdateKlass.R:52:3
2. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.")
── Error ('test-UpdateKlass.R:122:3'): update_klass gir riktig resultat ved delte koder ──
Error: Argument 'txt' must be a JSON string, URL or file.
Backtrace:
▆
1. └─jsonlite::fromJSON(klassR:::GetUrl2(changes_url), flatten = TRUE) at test-UpdateKlass.R:122:3
2. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.")
── Error ('test_ApplyKlass.R:3:3'): apply_klass returns correct names for numeric codes ──
Error in `stop_quietly()`:
Backtrace:
▆
1. └─klassR::apply_klass(...) at test_ApplyKlass.R:3:3
2. └─klassR::get_klass(...)
3. └─klassR:::stop_quietly()
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 90 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64