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

Better seeding? #7

Open
eddelbuettel opened this issue Mar 2, 2018 · 0 comments
Open

Better seeding? #7

eddelbuettel opened this issue Mar 2, 2018 · 0 comments

Comments

@eddelbuettel
Copy link
Owner

eddelbuettel commented Mar 2, 2018

On a "empty" machine it is tedious to get the build dependencies installed. Something approximative:

pkg <- ...    # some package
IP <- installed.packages()
AP <- available.packages()
p <- tools::package_dependencies(package=pkg, recursive=TRUE, db=AP, reverse=TRUE)[[1]]

and p can then be fed to install.packages(), maybe after checking with IP first. At that point it
becomes a little 'empirical' to install (OS-level) build-dependencies as needed.

What would be really nice: pulling in the OS-level depends from JSON DBs that @gaborcsardi has.

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

1 participant