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

Check on multiple r releases #402

Merged
merged 3 commits into from
Aug 29, 2019

Conversation

russHyde
Copy link
Collaborator

add matrix of travis R releases (3.2 -> devel)

Used `use_tidy_ci()` to expand the R-releases used during CI tests

- add configs for codecov
- bump R dependency to R >= 3.2 (since 3.2 is the earliest release
  used in CI; also dependency httr/knitr require R >= 3.2)
- `use_tidy_ci` modified `cran-comments.md`; I changed the file
  so that R 3.1 wasnt mentioned in the travis section. But, I dont
  really know what is supposed to go in this file.

Note that I've added a failing test just to check that CI fails for all builds before pushing to lintr master

Used `use_tidy_ci()` to expand the R-releases used during CI tests

- add configs for codecov
- bump R dependency to R >= 3.2 (since 3.2 is the earliest release
  used in CI; also dependency httr/knitr require R >= 3.2)
- `use_tidy_ci` modified `cran-comments.md`; I changed the file
  so that R 3.1 wasnt mentioned in the travis section. But, I dont
  really know what is supposed to go in this file.
@russHyde russHyde requested a review from jimhester as a code owner August 29, 2019 12:36
@russHyde
Copy link
Collaborator Author

(Sorry I thought I'd PR'd against my own fork; I'll remove the failing test in a bit)

A test that should always fail was added to the previous
commit on purpose (expect_true(FALSE)) to check that
CI would fail at least once for all builds.

R CMD check did fail at the injected test for each build.
Hence, the test was removed.
@russHyde
Copy link
Collaborator Author

Following discussion in #384 (now closed; #384 (comment)) a few different releases of R were added to the travis config; lintr is now built against R-3.[2|3|4], and the old / current / devel-releases of R.

A failing test was added to the initial commit to ensure that lintr builds but fails R CMD check on each of these releases at that expected point. The failing test was removed, and lintr now builds / checks on all builds without error.

@jimhester jimhester merged commit 218fb7d into r-lib:master Aug 29, 2019
@jimhester
Copy link
Member

Great work, this package is now better thanks to you!

Thanks!! You are da bomb!

@russHyde russHyde deleted the check_on_multiple_r_releases branch September 2, 2019 13:09
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

Successfully merging this pull request may close these issues.

2 participants