- using R version 4.6.1 (2026-06-24 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-08-12 18:40:51 UTC
- checking for file 'lifx/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'lifx' version '0.2.0'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'lifx' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [0s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [2s] OK
- checking Rd files ... [1s] 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 ?
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking LazyData ... INFO
'LazyData' is specified without a 'data' directory
- checking examples ... [1s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [13s] ERROR
Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(lifx)
>
> test_check("lifx")
Saving _problems/test-lx_color_name-9.R
[ 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]:\nResolving timed out after 10015 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)
13. └─curl:::raise_libcurl_error(...)
[ FAIL 1 | WARN 0 | SKIP 11 | PASS 5 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [5s] OK
- DONE
Status: 1 ERROR, 1 NOTE