- using R Under development (unstable) (2025-12-26 r89230)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘savonliquide/DESCRIPTION’ ... OK
- this is package ‘savonliquide’ 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘savonliquide’ can be installed ... OK
See the install log for details.
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... NOTE
Namespace in Imports field not imported from: ‘crayon’
All declared Imports should be used.
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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/11s] ERROR
Running examples in ‘savonliquide-Ex.R’ failed
The error most likely occurred in:
> ### Name: check_contrast
> ### Title: Color Contrast Accessibility Report
> ### Aliases: check_contrast
>
> ### ** Examples
>
>
> check_contrast(fg_col = "#21EA06", bg_col = "#483D3D")
Error:
! Failed to evaluate glue component {response$status_code}
Caused by error:
! object 'response' not found
Backtrace:
▆
1. ├─savonliquide::check_contrast(fg_col = "#21EA06", bg_col = "#483D3D")
2. │ └─base::tryCatch(...)
3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
5. │ └─value[[3L]](cond)
6. │ ├─base::message(glue::glue("Error: here the API response status: {response$status_code}"))
7. │ └─glue::glue("Error: here the API response status: {response$status_code}")
8. │ └─glue::glue_data(...)
9. ├─glue (local) `<fn>`("response$status_code")
10. │ ├─.transformer(expr, env) %||% .null
11. │ └─glue (local) .transformer(expr, env)
12. │ ├─glue:::with_glue_error(...)
13. │ │ └─base::withCallingHandlers(...)
14. │ └─base::eval(expr, envir)
15. │ └─base::eval(expr, envir)
16. └─base::.handleSimpleError(...)
17. └─glue (local) h(simpleError(msg, call))
18. └─rlang::abort(message, parent = cnd, call = NULL)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... OK
Running ‘testthat.R’
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE