Skip to content

Commit

Permalink
Also try uppercase R subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jul 1, 2024
1 parent 5030cc0 commit 04767df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/cran.R
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ cran_registry_with_status <- function(full_reset = FALSE){
packages$url[k] <<- pkg$Git
}
message("HTTP or description error: ", package, " from ", pkg$Git, ": ", res$status)
alt_subdirs <- sprintf(c("pkg", "r", "%s", "pkg/%s"), package)
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'
lapply(alt_subdirs, function(alt_dir){
Expand Down

0 comments on commit 04767df

Please sign in to comment.