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 usage of remotes to install packages #1

Open
KevCaz opened this issue Mar 4, 2020 · 2 comments
Open

Better usage of remotes to install packages #1

KevCaz opened this issue Mar 4, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@KevCaz
Copy link
Member

KevCaz commented Mar 4, 2020

For some reason, I created a handful functions to download packages from CRAN, repo, .... Those functions basically called install.packages after downloading the files. Given that we are already using a DESCRIPTION file and remotes, it'd be better to callinstall_deps() and use pkg.yaml as little as possible (only when packages are archived, and we avoid using those packages).

@KevCaz KevCaz self-assigned this Mar 4, 2020
@KevCaz KevCaz added the enhancement New feature or request label Mar 4, 2020
@KevCaz
Copy link
Member Author

KevCaz commented Mar 5, 2020

WIP! old way to install package will be progressively removed but will be kept as a gist
https://gist.github.com/KevCaz/da8fb99b861fbeb9ba7365ed8c04d643

@KevCaz
Copy link
Member Author

KevCaz commented Mar 9, 2020

Just need to remove all pkg.yaml files from workshop. Looks like a work around for archived package is to use METACRAN's GitHub https://github.com/cran

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

No branches or pull requests

1 participant