Last updated on 2026-03-21 21:53:11 CET.
| Package | ERROR | OK |
|---|---|---|
| ale | 1 | 13 |
| autogam | 14 | |
| staccuracy | 14 |
Current CRAN status: ERROR: 1, OK: 13
Version: 0.5.3
Check: examples
Result: ERROR
Running examples in 'ale-Ex.R' failed
The error most likely occurred in:
> ### Name: retrieve_rds
> ### Title: Retrieve an R object from the first successful source among
> ### multiple attempts
> ### Aliases: retrieve_rds
>
> ### ** Examples
>
> # Example 1: Try a remote RDS first; if it fails, run the code block.
> # - With char_as_url = TRUE (default), the character vector is collapsed with "/",
> # opened as a URL, and read via readRDS().
> # - If the URL works, the serialized object is returned immediately.
> # - If it fails, the code block within curly quotes is evaluated in the
> # caller's environment and its value is returned (here it would assign and
> # return `ale_gam_diamonds`).
> serialized_objects_site <- "https://github.com/tripartio/ale/raw/main/download"
> retrieve_rds(
+ c(serialized_objects_site, "ale_gam_diamonds.0.5.2.rds"),
+ {
+ ale_gam_diamonds <- "Code for generating an ALE object"
+ }
+ )
Warning in readRDS(url(paste0(it.attempt, collapse = "/"))) :
cannot open URL 'https://github.com/tripartio/ale/raw/main/download/ale_gam_diamonds.0.5.2.rds': HTTP status was '502 Bad Gateway'
Error in `retrieve_rds()`:
! None of the provided options successfully retrieved an object.
Backtrace:
▆
1. └─ale::retrieve_rds(...)
2. └─cli::cli_abort("None of the provided options successfully retrieved an object.")
3. └─rlang::abort(...)
Execution halted
Flavor: r-devel-windows-x86_64
Current CRAN status: OK: 14
Current CRAN status: OK: 14