CRAN Package Check Results for Package sched

Last updated on 2026-04-16 13:51:33 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.3 7.49 69.72 77.21 OK
r-devel-linux-x86_64-debian-gcc 1.0.3 5.32 48.54 53.86 OK
r-devel-linux-x86_64-fedora-clang 1.0.3 14.00 96.57 110.57 OK
r-devel-linux-x86_64-fedora-gcc 1.0.3 14.00 109.35 123.35 OK
r-devel-macos-arm64 1.0.3 2.00 169.00 171.00 OK
r-devel-windows-x86_64 1.0.3 9.00 109.00 118.00 OK
r-patched-linux-x86_64 1.0.3 8.23 68.90 77.13 OK
r-release-linux-x86_64 1.0.3 7.41 64.18 71.59 OK
r-release-macos-arm64 1.0.3 OK
r-release-macos-x86_64 1.0.3 5.00 135.00 140.00 OK
r-release-windows-x86_64 1.0.3 9.00 104.00 113.00 ERROR
r-oldrel-macos-arm64 1.0.3 OK
r-oldrel-macos-x86_64 1.0.3 5.00 119.00 124.00 OK
r-oldrel-windows-x86_64 1.0.3 12.00 126.00 138.00 OK

Check Details

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