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

'.import.rio_xls()' no longer passing '...' to 'read_xls()' #230

Merged
merged 2 commits into from Oct 3, 2019

Conversation

@bokov
Copy link
Contributor

commented Sep 23, 2019

because that function cannot accept '...' arguments. Instead, the length of '...' is checked and if > 0 a warning is issued. With corresponding tests. Also went back and changed my earlier 'read_xlsx()' test to be 'expect_warning()' instead of 'expect_true()' since by that point that's what needs testing.

Please ensure the following before submitting a PR:

  • if suggesting code changes or improvements, open an issue first

This addresses the final part of #223 , #224 , and item 2 in #226

  • for all but trivial changes (e.g., typo fixes), add your name to DESCRIPTION
  • for all but trivial changes (e.g., typo fixes), documentation your change in NEWS.md with a parenthetical reference to the issue number being addressed

Awaiting guidance

  • if changing documentation, edit files in /R not /man and run devtools::document() to update documentation
    No changes
  • add code or new test files to /tests for any new functionality or bug fix
  • make sure R CMD check runs without error before submitting the PR
    No new errors.
…hat functions cannot accept '...' arguments. Instead, the length of '...' is checked and if > 0 a warning is issued. With corresponding tests. Also went back and changed my earlier 'read_xlsx()' test to be 'expect_warning()' instead of 'expect_true()' since by that point that's what needs testing.
@codecov-io

This comment has been minimized.

Copy link

commented Sep 23, 2019

Codecov Report

Merging #230 into master will decrease coverage by 0.1%.
The diff coverage is 86.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #230      +/-   ##
==========================================
- Coverage   82.43%   82.32%   -0.11%     
==========================================
  Files          18       18              
  Lines         871      877       +6     
==========================================
+ Hits          718      722       +4     
- Misses        153      155       +2
Impacted Files Coverage Δ
R/import_methods.R 79.59% <86.66%> (-0.41%) ⬇️

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 70d26ca...c3b85d4. Read the comment docs.

Copy link
Owner

left a comment

Looks good - a couple of small changes requested. Thanks for this!

R/import_methods.R Outdated Show resolved Hide resolved
R/import_methods.R Outdated Show resolved Hide resolved
… per (/230#pullrequestreview-296156610)
@bokov bokov requested a review from leeper Oct 2, 2019
@bokov

This comment has been minimized.

Copy link
Contributor Author

commented Oct 2, 2019

I re-ran this commit on my own Travis account and the problem seems to have resolved itself
https://travis-ci.org/bokov/rio/builds/592605884

Appveyor is still failing to install packages 'haven', 'curl', 'data.table', 'readxl', 'openxlsx', 'tibble'
for Environment: R_VERSION=devel, R_ARCH=x64, GCC_PATH=mingw_64... including for the head of the master branch of rio.

@leeper leeper merged commit b9f78fa into leeper:master Oct 3, 2019
0 of 2 checks passed
0 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
continuous-integration/appveyor/pr AppVeyor build failed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.