Skip to content

Commit

Permalink
suppress warnings in get_versions
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Sep 1, 2020
1 parent c2b628b commit e608670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/zen4R_versioning.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#'
get_versions = function(doi, logger = NULL){

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 e608670

Please sign in to comment.