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
Use https://packagemanager.rstudio.com
to install R packages faster
#5220
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# https://packagemanager.rstudio.com provides pre-compiled binary packages for Linux | ||
# that can be installed significantly faster. | ||
options(repos = c(REPO_NAME = "https://packagemanager.rstudio.com/cran/__linux__/focal/latest")) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The package installation (which usually takes 15~20 min) took 1.5 min with https://github.com/mlflow/mlflow/runs/4716557367?check_suite_focus=true#step:11:1 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good finding! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Run
remotes::install_deps
inmlflow/R/mlflow
to allow R to find.Rprofile
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where is .Rprofile file ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, in user home directory