-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error with bioconductor URL #648
Comments
Can you access that URL from R? |
Looks likely to be the same issue as #295 |
I'm facing the same issue. While there may be more to this, I think the issue might be that:
In any case, I notice that pak fails when corporate VPN is enabled and succeeds when VPN is disabled. #> r$> pak::pak("gt")
Error:
! error in pak subprocess
Caused by error in `download.file(url, tmp, quiet = TRUE)`:
! cannot open URL 'http://bioconductor.org/config.yaml'
Type .Last.error to see the more details.
#> r$> .Last.error
<callr_error/rlib_error_3_0/rlib_error/error>
Error:
! error in pak subprocess
Caused by error in `download.file(url, tmp, quiet = TRUE)`:
! cannot open URL 'http://bioconductor.org/config.yaml'
---
Backtrace:
1. pak::pak("gt")
2. pak::pkg_install(pkg, ...)
3. pak:::remote(function(...) get("pkg_install_make_plan", asNamespace("pak"))(...), ..4. err$throw(res$error)
---
Subprocess backtrace:
1. base::withCallingHandlers(cli_message = function(msg) { ...
2. get("pkg_install_make_plan", asNamespace("pak"))(...)
3. pkgdepends::new_pkg_installation_proposal(pkg, config = list(library = lib, ...
4. pkg_installation_proposal$new(refs, config = config, ...)
5. local initialize(...)
6. pkg_plan$new(refs, config = config, library = config$library, ...
7. local initialize(...)
8. pkgdepends:::pkgplan_init(self, private, refs, config, library, remote_types, ...
9. pkgcache::cranlike_metadata_cache$new(replica_path = private$config$get("metada...
10. local initialize(...)
11. pkgcache:::cmc_init(self, private, primary_path, replica_path, platforms, ...
12. pkgcache:::cmc__get_repos(repos, bioc, cran_mirror, r_version)
13. bioconductor$get_repos()
14. local get_bioc_version(getRversion(), forget)
15. local get_matching_bioc_version(r_version, forget = forget)
16. local get_version_map(forget = forget)
17. local get_yaml_config(forget)
18. base::stop(new)
19. global (function (e) ...
#> r$> # disabling VPN, which filters out requests to sites with http
#> r$> pak::pak("gt")
✔ Updated metadata database: 1.42 MB in 2 files.
✔ Updating metadata database ... done When I try the bioconductor URL in the web browser (even while VPN is enabled)--that is, copy-paste the bioconductor URL from the pak error message--I seem to get redirected to the bioconductor URL that uses |
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
session info below
The text was updated successfully, but these errors were encountered: