r-lib / pak

A fresh approach to package installation
https://pak.r-lib.org
639 stars 56 forks source link

error with bioconductor URL #648

Open alejandrohagan opened 2 weeks ago

alejandrohagan commented 2 weeks ago

Hi,

I get the following error when I try to use pak::pak(). It occured after I upgraded to R 4.4 and its for package that I try to download

I'm not trying to use bioconductor as my repo and not sure why it is looking for it

! error in pak subprocess
Caused by error in `download.file(url, tmp, quiet = TRUE)`:
! cannot open URL 'http://bioconductor.org/config.yaml'

session info below

R version 4.4.0 (2024-04-24 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.utf8  LC_CTYPE=English_United States.utf8    LC_MONETARY=English_United States.utf8 LC_NUMERIC=C                           LC_TIME=English_United States.utf8    

time zone: America/Chicago
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] marquee_0.1.0   lubridate_1.9.3 forcats_1.0.0   stringr_1.5.1   dplyr_1.1.4     purrr_1.0.2     readr_2.1.5     tidyr_1.3.1     tibble_3.2.1    ggplot2_3.5.1   tidyverse_2.0.0

loaded via a namespace (and not attached):
 [1] gtable_0.3.5      compiler_4.4.0    tidyselect_1.2.1  systemfonts_1.1.0 scales_1.3.0      textshaping_0.4.0 R6_2.5.1          pak_0.7.2         labeling_0.4.3    generics_0.1.3    munsell_0.5.1     pillar_1.9.0     
[13] tzdb_0.4.0        rlang_1.1.4       utf8_1.2.4        stringi_1.8.4     timechange_0.3.0  cli_3.6.2         withr_3.0.0       magrittr_2.0.3    grid_4.4.0        rstudioapi_0.16.0 hms_1.1.3         lifecycle_1.0.4  
[25] vctrs_0.6.5       glue_1.7.0        farver_2.1.2      fansi_1.0.6       colorspace_2.1-0  tools_4.4.0       pkgconfig_2.0.3  
gaborcsardi commented 2 weeks ago

Can you access that URL from R?

wurli commented 1 week ago

Looks likely to be the same issue as #295