Skip to content

Commit

Permalink
Hardcode some exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jul 1, 2024
1 parent 04767df commit f3c883c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/cran.R
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ cran_registry_with_status <- function(full_reset = FALSE){
alt_subdirs <- sprintf(c("pkg", "r", "R", "%s", "pkg/%s"), package)
if(package == 'duckdb') alt_subdirs <- 'tools/rpkg'
if(package == 'rstan') alt_subdirs <- 'rstan/rstan'
if(package == 'adbcdrivermanager') alt_subdirs <- 'r/adbcdrivermanager'
if(package == 'adbcsqlite') alt_subdirs <- 'r/adbcsqlite'
lapply(alt_subdirs, function(alt_dir){
alt_url <- sprintf('%s/raw/HEAD/%s/DESCRIPTION', pkg$Git, alt_dir)
curl::multi_add(make_handle(alt_url), done = function(res2){
Expand Down

0 comments on commit f3c883c

Please sign in to comment.