Last updated on 2026-04-16 03:53:04 CEST.
| Package | ERROR | OK |
|---|---|---|
| fscache | 14 | |
| sched | 1 | 13 |
| sqlq | 14 |
Current CRAN status: OK: 14
Current CRAN status: ERROR: 1, OK: 13
Version: 1.0.3
Check: examples
Result: ERROR
Running examples in 'sched-Ex.R' failed
The error most likely occurred in:
> ### Name: Scheduler
> ### Title: Class for scheduling web requests.
> ### Aliases: Scheduler
>
> ### ** Examples
>
> # Create a scheduler instance without cache
> scheduler <- sched::Scheduler$new(cache_dir = NULL)
>
> # Define a rule with default values
> scheduler$setRule('www.ebi.ac.uk')
>
> # Create a request object
> u <- 'https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity'
> url <- sched::URL$new(url=u, params=c(chebiId=15440))
> request <- sched::Request$new(url)
>
> # Send the request and get the content result
> content <- scheduler$sendRequest(request)
INFO [16:23:12.182] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:12.446] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:12.672] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:13.126] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:13.402] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:13.678] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:13.888] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:14.350] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:14.743] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:14.963] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
>
>
> ## ------------------------------------------------
> ## Method `Scheduler$new`
> ## ------------------------------------------------
>
> # Create a scheduler instance with a custom default_rule
> scheduler <- sched::Scheduler$new(default_rule=sched::Rule$new(10, 1),
+ cache_dir = NULL)
>
>
> ## ------------------------------------------------
> ## Method `Scheduler$setRule`
> ## ------------------------------------------------
>
> # Create a scheduler instance
> scheduler <- sched::Scheduler$new(cache_dir = NULL)
>
> # Define a rule with default values
> scheduler$setRule('www.ebi.ac.uk')
>
> # Define a rule with custome values
> scheduler$setRule('my.other.site', n=10, lap=3)
>
>
> ## ------------------------------------------------
> ## Method `Scheduler$sendRequest`
> ## ------------------------------------------------
>
> # Create a scheduler instance
> scheduler <- sched::Scheduler$new(cache_dir = NULL)
>
> # Define a scheduling rule of 7 requests every 2 seconds
> scheduler$setRule('www.ebi.ac.uk', n=7, lap=2)
>
> # Create a request object
> u <- 'https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity'
> url <- sched::URL$new(url=u, params=c(chebiId=15440))
> request <- sched::Request$new(url)
>
> # Send the request and get the content result
> content <- scheduler$sendRequest(request)
INFO [16:23:15.189] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:15.410] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:15.619] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:15.832] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:16.045] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:16.275] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:16.483] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:17.195] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:17.421] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:17.642] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
>
>
> ## ------------------------------------------------
> ## Method `Scheduler$downloadFile`
> ## ------------------------------------------------
>
> # Create a scheduler instance
> scheduler <- sched::Scheduler$new(cache_dir = NULL)
>
> # Create a temporary directory
> tmp_dir <- tempdir()
>
> # Download a file
> u <- sched::URL$new(
+ 'https://gitlab.com/cnrgh/databases/r-sched/-/raw/main/README.md',
+ c(ref_type='heads'))
> scheduler$downloadFile(u, file.path(tmp_dir, 'README.md'))
trying URL 'https://gitlab.com/cnrgh/databases/r-sched/-/raw/main/README.md?ref_type=heads'
Warning in utils::download.file(url = url, destfile = dest_file, mode = "wb", :
cannot open URL 'https://gitlab.com/cnrgh/databases/r-sched/-/raw/main/README.md?ref_type=heads': HTTP status was '403 Forbidden'
Error in utils::download.file(url = url, destfile = dest_file, mode = "wb", :
cannot open URL 'https://gitlab.com/cnrgh/databases/r-sched/-/raw/main/README.md?ref_type=heads'
Calls: <Anonymous> -> <Anonymous>
Execution halted
Flavor: r-release-windows-x86_64
Version: 1.0.3
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'fcts.Rmd' using rmarkdown
--- finished re-building 'fcts.Rmd'
--- re-building 'intro.Rmd' using rmarkdown
INFO [16:23:51.745] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:52.116] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:52.351] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:52.704] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:52.974] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:53.356] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:53.575] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:53.934] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:54.310] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
INFO [16:23:54.598] Error when retrieving URL content HTTP error 404 (""). When contacting URL "https://www.ebi.ac.uk/webservices/chebi/2.0/test/getCompleteEntity?chebiId=15440". Retrying connection to server...
trying URL 'https://gitlab.com/cnrgh/databases/r-sched/-/raw/main/README.md'
Quitting from intro.Rmd:116-122 [unnamed-chunk-9]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `utils::download.file()`:
! cannot open URL 'https://gitlab.com/cnrgh/databases/r-sched/-/raw/main/README.md'
---
Backtrace:
▆
1. └─scheduler$downloadFile(my_url, dest_file = dst)
2. └─utils::download.file(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'intro.Rmd' failed with diagnostics:
cannot open URL 'https://gitlab.com/cnrgh/databases/r-sched/-/raw/main/README.md'
--- failed re-building 'intro.Rmd'
SUMMARY: processing the following file failed:
'intro.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-windows-x86_64
Current CRAN status: OK: 14