CRAN Package Check Results for Package lifx

Last updated on 2024-10-28 03:56:06 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 2.08 21.98 24.06 NOTE
r-devel-linux-x86_64-debian-gcc 0.2.0 1.61 17.10 18.71 NOTE
r-devel-linux-x86_64-fedora-clang 0.2.0 38.47 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.0 37.11 NOTE
r-devel-windows-x86_64 0.2.0 4.00 47.00 51.00 NOTE
r-patched-linux-x86_64 0.2.0 2.29 20.97 23.26 NOTE
r-release-linux-x86_64 0.2.0 1.60 21.07 22.67 NOTE
r-release-macos-arm64 0.2.0 18.00 NOTE
r-release-macos-x86_64 0.2.0 27.00 NOTE
r-release-windows-x86_64 0.2.0 5.00 48.00 53.00 NOTE
r-oldrel-macos-arm64 0.2.0 18.00 NOTE
r-oldrel-macos-x86_64 0.2.0 23.00 NOTE
r-oldrel-windows-x86_64 0.2.0 4.00 58.00 62.00 ERROR

Check Details

Version: 0.2.0
Check: Rd files
Result: NOTE checkRd: (-1) lx_list_lights.Rd:24: Lost braces in \itemize; meant \describe ? checkRd: (-1) lx_list_lights.Rd:25: Lost braces in \itemize; meant \describe ? checkRd: (-1) lx_list_lights.Rd:26: Lost braces in \itemize; meant \describe ? checkRd: (-1) lx_list_lights.Rd:27: Lost braces in \itemize; meant \describe ? Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

Version: 0.2.0
Check: dependencies in R code
Result: NOTE Namespaces in Imports field not imported from: ‘curl’ ‘jsonlite’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.0
Check: LazyData
Result: NOTE 'LazyData' is specified without a 'data' directory Flavors: r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.2.0
Check: tests
Result: ERROR Running 'testthat.R' [13s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(lifx) > > test_check("lifx") [ FAIL 1 | WARN 0 | SKIP 11 | PASS 5 ] ══ Skipped tests (11) ══════════════════════════════════════════════════════════ • no 'LIFX' api token in renvironment (11): 'test-with_token_only.R:7:27', 'test-with_token_only.R:7:27', 'test-with_token_only.R:7:27', 'test-with_token_only.R:7:27', 'test-with_token_only.R:7:27', 'test-with_token_only.R:7:27', 'test-with_token_only.R:7:27', 'test-with_token_only.R:7:27', 'test-with_token_only.R:7:27', 'test-with_token_only.R:7:27', 'test-with_token_only.R:7:27' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-lx_color_name.R:9:23'): selector string correct ────────────── `lx_color_name(hue = 255, token = "NOT A GOOD TOKEN")` threw an error with unexpected message. Expected match: "bad token - could not check color" Actual message: "Timeout was reached: [api.lifx.com] Resolving timed out after 10005 milliseconds" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-lx_color_name.R:9:23 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─lifx::lx_color_name(hue = 255, token = "NOT A GOOD TOKEN") 7. └─lifx::lx_check_color(color_string, token = token) 8. └─httr::GET(url, header) 9. └─httr:::request_perform(req, hu$handle$handle) 10. ├─httr:::request_fetch(req$output, req$url, handle) 11. └─httr:::request_fetch.write_memory(req$output, req$url, handle) 12. └─curl::curl_fetch_memory(url, handle = handle) [ FAIL 1 | WARN 0 | SKIP 11 | PASS 5 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64