Speed up CI runtime for R package#58
Merged
dmey merged 18 commits intopsychrometrics:masterfrom Apr 8, 2020
Merged
Conversation
According CRAN policy, year field in MIT LICENSE should start as `YEAR` not `Year`. Also, DOI prefix should be removed.
Co-Authored-By: dmey <dmey@users.noreply.github.com>
dmey
reviewed
Apr 8, 2020
.travis.yml
Outdated
| r: release | ||
| before_install: | ||
| - Rscript -e 'install.packages("devtools", dependencies = TRUE)' | ||
| - Rscript -e 'options(repos = c(CRAN = "https://demo.rstudiopm.com/all/__linux__/xenial/latest")); install.packages("devtools")' |
Contributor
There was a problem hiding this comment.
I am not sure this has improved the runtime -- the packages are still compiled from source.
Contributor
Author
There was a problem hiding this comment.
You are right. Not sure why it does not work on Travis. Will keep the original. But remove dependencies = TRUE did reduce the package sizes to install. So I will keep it.
Contributor
Author
I revise the Description because CRAN did not allow the Description to start with the package name |
Contributor
Author
|
The CI for R has been fixed. I will keep the current Description field as it is and update it on the next CRAN submission. |
Closed
dmey
approved these changes
Apr 8, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request overview
Suggestsfield of devtoolsCreateNot necessary.NAMESPACEbefore callingdevtools::document()devtools::document()will automatically create one. The root for the error lies in missingRcppExports.RRcpp::compileAttributes()to make sureRcppExports.Ris created