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

Changes for readr 2.0.0 #37

Merged
merged 1 commit into from
May 19, 2021
Merged

Changes for readr 2.0.0 #37

merged 1 commit into from
May 19, 2021

Conversation

jimhester
Copy link
Contributor

In readr 2.0.0 blank lines are not implicitly skipped. It seems the
GloBI service returns data with a trailing blank line, so we need to
drop these rows with all NA values.

In addition testthat supports a helper file which is automatically
sourced before running your tests or when using devtools::load_all().
I moved the test utils functions into this file.

I also suppressed the parsing warnings as well as the messages, as that
clears up some spurious output when running the tests.

We plan to submit readr 2.0.0 in 2-4 weeks from now. You will need to submit these changes to CRAN before then to avoid test failures on CRAN.

In readr 2.0.0 blank lines are not implicitly skipped. It seems the
GloBI service returns data with a trailing blank line, so we need to
drop these rows with all NA values.

In addition testthat supports a helper file which is automatically
sourced before running your tests or when using `devtools::load_all()`.
I moved the test utils functions into this file.

I also suppressed the parsing warnings as well as the messages, as that
clears up some spurious output when running the tests.
@jhpoelen
Copy link
Contributor

@jimhester thanks Jim! Good luck with the readr 2.0.0 release, sounds like an exciting release!

@jhpoelen jhpoelen merged commit 5d1a29e into ropensci:main May 19, 2021
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