Last updated on 2021-11-12 08:51:57 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.4 | 3.35 | 33.79 | 37.14 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.4 | 2.19 | 26.96 | 29.15 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1.4 | 58.26 | NOTE | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.4 | 47.12 | NOTE | |||
r-devel-windows-x86_64 | 0.1.4 | 7.00 | 60.00 | 67.00 | OK | |
r-devel-windows-x86_64-gcc10-UCRT | 0.1.4 | NOTE | ||||
r-patched-linux-x86_64 | 0.1.4 | 6.39 | 33.18 | 39.57 | OK | |
r-patched-solaris-x86 | 0.1.4 | 68.30 | ERROR | |||
r-release-linux-x86_64 | 0.1.4 | 3.63 | 33.18 | 36.81 | OK | |
r-release-macos-arm64 | 0.1.4 | NOTE | ||||
r-release-macos-x86_64 | 0.1.4 | NOTE | ||||
r-release-windows-ix86+x86_64 | 0.1.4 | 6.00 | 44.00 | 50.00 | OK | |
r-oldrel-macos-x86_64 | 0.1.4 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 0.1.4 | 8.00 | 65.00 | 73.00 | OK |
Version: 0.1.4
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘testthat’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(RAhrefs)
> test_check("RAhrefs")
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test_auth.R:10:3): api_key param doesn't accept wrong values ───────
`rah_auth(api_key = "stupid things", verbose = TRUE)` threw an error with unexpected message.
Expected match: "Authorization error: HTTP status code"
Actual message: "URL using bad/illegal format or missing URL"
Backtrace:
█
1. ├─testthat::expect_error(...) test_auth.R:10:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─RAhrefs::rah_auth(api_key = "stupid things", verbose = TRUE)
7. └─httr::GET(...)
8. └─httr:::request_perform(req, hu$handle$handle)
9. ├─httr:::request_fetch(req$output, req$url, handle)
10. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
11. └─curl::curl_fetch_memory(url, handle = handle)
── Failure (test_auth.R:16:3): api_key param doesn't accept wrong values ───────
`rah_auth(api_key = "stupid things", verbose = FALSE)` threw an error with unexpected message.
Expected match: "Authorization error: HTTP status code"
Actual message: "URL using bad/illegal format or missing URL"
Backtrace:
█
1. ├─testthat::expect_error(...) test_auth.R:16:2
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat:::.capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─RAhrefs::rah_auth(api_key = "stupid things", verbose = FALSE)
7. └─httr::GET(...)
8. └─httr:::request_perform(req, hu$handle$handle)
9. ├─httr:::request_fetch(req$output, req$url, handle)
10. └─httr:::request_fetch.write_memory(req$output, req$url, handle)
11. └─curl::curl_fetch_memory(url, handle = handle)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 10 ]
Error: Test failures
Execution halted
Flavor: r-patched-solaris-x86