You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could the regex matching be extended to allow trailing slash(es) in urls? I.e. allow https://github.com/r-lib/pkgdepends/ as a valid url.
The main motivation is that pkgdown github link url appends a trailing slash, and thus when I copy-paste the url to pak I need to remove this trailing slash for it to work.
pak::pak("https://github.com/r-lib/pkgdepends/")
#> Error:#> ! ! error in pak subprocess#> Caused by error in `get_remote_types(refs)`:#> ! Cannot parse package: https://github.com/r-lib/pkgdepends/.#> ℹ See `?pkgdepends::pkg_refs()` for supported package sources.
Activity
gaborcsardi commentedon Jul 22, 2026
Sure, a PR is welcome. (But no pressure!)