Last updated on 2024-02-20 08:01:05 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.3 | OK | ||||
r-devel-linux-x86_64-debian-gcc | 1.1.3 | 7.07 | 174.32 | 181.39 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.1.3 | 307.56 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.3 | 315.57 | OK | |||
r-devel-windows-x86_64 | 1.1.3 | 9.00 | 184.00 | 193.00 | OK | |
r-patched-linux-x86_64 | 1.1.3 | 6.97 | 227.75 | 234.72 | ERROR | |
r-release-linux-x86_64 | 1.1.3 | 6.07 | 225.60 | 231.67 | OK | |
r-release-macos-arm64 | 1.1.3 | 114.00 | OK | |||
r-release-macos-x86_64 | 1.1.3 | 187.00 | OK | |||
r-release-windows-x86_64 | 1.1.3 | 12.00 | 262.00 | 274.00 | OK | |
r-oldrel-macos-arm64 | 1.1.3 | 93.00 | OK | |||
r-oldrel-windows-x86_64 | 1.1.3 | 12.00 | 263.00 | 275.00 | OK |
Version: 1.1.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [104s/143s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(mpathsenser)
>
> test_check("mpathsenser")
Attaching package: 'purrr'
The following object is masked from 'package:testthat':
is_null
[ FAIL 1 | WARN 53 | SKIP 0 | PASS 469 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-sensor_functions.R:123:3'): app_category ───────────────────────
Error in `if (is.character(txt) && length(txt) == 1 && nchar(txt, type = "bytes") <
2084 && !validate(txt)) {
if (grepl("^https?://", txt, useBytes = TRUE)) {
txt <- if (R.version$major < 4) {
base::url(txt)
}
else {
base::url(txt, headers = c(Accept = "application/json, text/*, */*"))
}
}
else if (file.exists(txt)) {
txt <- file(txt)
}
}`: missing value where TRUE/FALSE needed
Backtrace:
▆
1. ├─mpathsenser::app_category("whatsapp", exact = FALSE) at test-sensor_functions.R:123:3
2. │ └─mpathsenser:::app_category_impl(name[i], num, exact)
3. │ └─... %>% purrr::pluck("applicationCategory")
4. ├─purrr::pluck(., "applicationCategory")
5. │ └─purrr:::pluck_raw(.x, list2(...), .default = .default)
6. └─jsonlite::fromJSON(.)
[ FAIL 1 | WARN 53 | SKIP 0 | PASS 469 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64