CRAN Package Check Results for Package lifx

Last updated on 2025-03-13 05:51:48 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 2.11 22.00 24.11 NOTE
r-devel-linux-x86_64-debian-gcc 0.2.0 1.54 17.07 18.61 NOTE
r-devel-linux-x86_64-fedora-clang 0.2.0 37.17 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.0 36.48 NOTE
r-devel-macos-arm64 0.2.0 19.00 NOTE
r-devel-macos-x86_64 0.2.0 36.00 NOTE
r-devel-windows-x86_64 0.2.0 4.00 56.00 60.00 ERROR
r-patched-linux-x86_64 0.2.0 NOTE
r-release-linux-x86_64 0.2.0 2.04 20.96 23.00 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 3.00 47.00 50.00 NOTE
r-oldrel-macos-arm64 0.2.0 NOTE
r-oldrel-macos-x86_64 0.2.0 23.00 NOTE
r-oldrel-windows-x86_64 0.2.0 3.00 55.00 58.00 NOTE

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-macos-arm64, r-devel-macos-x86_64, 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: tests
Result: ERROR Running 'testthat.R' [11s] 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]: SSL/TLS connection timeout" 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) 13. └─curl:::raise_libcurl_error(...) [ FAIL 1 | WARN 0 | SKIP 11 | PASS 5 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

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