Skip to content
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

Add a way to query/install system dependencies of specific package #545

Closed
thomasp85 opened this issue Oct 7, 2020 · 2 comments
Closed

Comments

@thomasp85
Copy link
Member

thomasp85 commented Oct 7, 2020

The system dependency query only works for a local package, making it hard to install remotes with any system dependencies. This surfaced as a user trying to install pkgdown which now requires ragg and hence it's slew of system libraries. It would be nice if there was a way to query dependencies by name so one wouldn't have to download the source package before making the query

something like install_github("pkgdown", system_dependencies =TRUE) would be amazing, but allowing remotes::system_requirements() to take a package name instead of a directory would be very good as well

@jimhester
Copy link
Member

jimhester commented Oct 7, 2020

install_github("pkgdown", system_dependencies = TRUE) is impossible without some way to elevate permissions, since you generally need su access to install things from the package manager.

@thomasp85
Copy link
Member Author

thomasp85 commented Oct 7, 2020

That was maybe also a pipe dream. But it would be nice to have some canned way of installing pkgdown on Linux with all the right system requirements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants