Skip to content

Commit

Permalink
#31 suppress eventual warnings of ZenodoManager (token-less)
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Sep 1, 2020
1 parent ca9756c commit 7fb7c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/zen4R_downloader.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#'
download_zenodo = function(doi, path = ".", logger = NULL, quiet = FALSE, ...){

zenodo <- ZenodoManager$new(logger = logger)
zenodo <- suppressWarnings(ZenodoManager$new(logger = logger))
rec <- zenodo$getRecordByDOI(doi)
if(is.null(rec)){
#try to get it as concept DOI
Expand Down

0 comments on commit 7fb7c9a

Please sign in to comment.