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

Some work on zen4R::download_zenodo() #35

Merged
merged 10 commits into from
Aug 13, 2020
Merged

Conversation

florisvdh
Copy link
Contributor

Beside a few administrative fixes, some extra features and slightly improved [ZEN4R] messages are implemented.

The commit messages should explain most things (+ those with an asterisk have a message body).

This relates to #31, where more suggestions have been done about how [ZEN4R] messages may be further improved.

@eblondel feel free to discuss or change things that you would like to have changed.

With this commit, all md5sum checks happen after all files
are downloaded (either sequential or parallel)
Having the option 'quiet' will make this more convenient for wrapping
in other (external) functions, which will provide their own messages.

If something goes wrong, warnings/errors are still printed.
Record ID and DOI are already in the initial message
'Will download x files ...'
@codecov-commenter
Copy link

codecov-commenter commented Aug 13, 2020

Codecov Report

Merging #35 into master will decrease coverage by 0.03%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master     #35      +/-   ##
=========================================
- Coverage    5.93%   5.89%   -0.04%     
=========================================
  Files           7       7              
  Lines        1079    1086       +7     
=========================================
  Hits           64      64              
- Misses       1015    1022       +7     
Impacted Files Coverage Δ
R/ZenodoRecord.R 0.00% <0.00%> (ø)
R/zen4R_downloader.R 0.00% <0.00%> (ø)
R/zen4R_versioning.R 0.00% <ø> (ø)

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 82552a1...b1fc871. Read the comment docs.

@eblondel eblondel self-assigned this Aug 13, 2020
@eblondel
Copy link
Owner

@florisvdh i've done a quick check, sounds ok for all your commits. Now in holidays, when back will do some further check and review your message on #35 before publishing on CRAN.

@eblondel eblondel merged commit 05aafb3 into eblondel:master Aug 13, 2020
@eblondel eblondel self-requested a review August 13, 2020 19:09
@eblondel eblondel removed their request for review August 26, 2020 13:37
@florisvdh florisvdh deleted the download branch September 2, 2020 06:25
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.

3 participants