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

Update travis config; add a build with dev tidyr #60

Merged
merged 2 commits into from Aug 9, 2019
Merged

Update travis config; add a build with dev tidyr #60

merged 2 commits into from Aug 9, 2019

Conversation

jennybc
Copy link
Contributor

@jennybc jennybc commented Aug 5, 2019

This is a legitimate PR and it's good to go.

But I'd also like to point other package maintainers to this as an example of how to start checking their package under released and dev versions of tidyr, as we roll towards the release of v1.0.0.

@codecov-io
Copy link

codecov-io commented Aug 5, 2019

Codecov Report

Merging #60 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #60   +/-   ##
=======================================
  Coverage   93.45%   93.45%           
=======================================
  Files           9        9           
  Lines         397      397           
=======================================
  Hits          371      371           
  Misses         26       26

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9e15ef4...741ca05. Read the comment docs.

@jennybc jennybc changed the title Update travis config Update travis config; add a build with dev tidyr Aug 5, 2019
warnings_are_errors: true
sudo: required
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't needed / recommended these days.

- r: release
name: tidyr-devel
before_script: Rscript -e "remotes::install_github('tidyverse/tidyr')"
- r: oldrel
Copy link
Contributor Author

@jennybc jennybc Aug 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a good basic build matrix (R devel, release, and oldrel). Technically, you should probably change the R version in DESCRIPTION to reflect the actively-tested versions. Our policy in the Tidyverse is to only claim what we actually test (but we also test on a larger matrix, which is probably overkill for many other packages). Thus I have not modified the current declaration of Depends: R (>= 2.10).

I've added a 2nd build with the released version of R that also checks against the dev version of tidyr. You might not want this in place all the time, but it's handy when a major dependency is nearing a release with breaking changes. I decided to demo this here in fuzzyjoin.

@dgrtwo dgrtwo merged commit b54f9de into dgrtwo:master Aug 9, 2019
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.

None yet

3 participants