Last updated on 2022-04-24 03:52:39 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2.6 | 6.99 | 90.26 | 97.25 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.2.6 | 6.36 | 65.70 | 72.06 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.2.6 | 114.52 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.2.6 | 102.41 | OK | |||
r-patched-linux-x86_64 | 0.2.6 | 7.27 | 83.02 | 90.29 | OK | |
r-release-linux-x86_64 | 0.2.6 | 5.69 | 76.10 | 81.79 | ERROR | |
r-release-macos-arm64 | 0.2.6 | OK | ||||
r-release-macos-x86_64 | 0.2.6 | OK | ||||
r-release-windows-x86_64 | 0.2.6 | 47.00 | 121.00 | 168.00 | OK | |
r-oldrel-macos-arm64 | 0.2.6 | OK | ||||
r-oldrel-macos-x86_64 | 0.2.6 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 0.2.6 | 19.00 | 101.00 | 120.00 | OK |
Version: 0.2.6
Check: examples
Result: ERROR
Running examples in ‘surveydata-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: encToInt
> ### Title: Converts a character vector to an integer vector.
> ### Aliases: encToInt
> ### Keywords: encoding
>
> ### ** Examples
>
> encToInt("\xfa")
Error in iconv(x, from = encoding[1], to = "UTF-8") :
unsupported conversion from 'NA' to 'UTF-8'
Calls: encToInt -> utf8ToInt -> iconv
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.2.6
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [5s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(surveydata)
Attaching package: 'surveydata'
The following object is masked from 'package:stats':
filter
>
> test_check("surveydata")
Loading required package: dplyr
Attaching package: 'dplyr'
The following object is masked from 'package:testthat':
matches
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Removed 0 instances of levels that equal [ I don't know, Don't Know, Don't know, Dont know, DK ]
[ FAIL 1 | WARN 2 | SKIP 1 | PASS 212 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On Linux (1)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error (test-06-encoding.R:9:3): encoding functions work as expected ─────────
Error in `iconv(x, from = encoding[1], to = "UTF-8")`: unsupported conversion from 'NA' to 'UTF-8'
Backtrace:
▆
1. ├─testthat::expect_equal(encToInt("\\xfa"), c(92, 120, 102, 97)) at test-06-encoding.R:9:2
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─surveydata::encToInt("\\xfa")
5. ├─base::utf8ToInt(iconv(x, from = encoding[1], to = "UTF-8"))
6. └─base::iconv(x, from = encoding[1], to = "UTF-8")
[ FAIL 1 | WARN 2 | SKIP 1 | PASS 212 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64