Skip to content

Commit

Permalink
init-api.R: suppress warnings while reading CSV files (#3195)
Browse files Browse the repository at this point in the history
Co-authored-by: Stefano Ricci <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 15, 2023
1 parent 404cd80 commit d15bb75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ arena.getToFile = function (url, query = NULL, file) {
arena.getCSV = function (url, query = NULL) {
tmp <- tempfile()
arena.getToFile(url, query, file = tmp)
content <- read.csv(tmp)
content <- suppressWarnings(read.csv(tmp))
rm(tmp)
return(content)
}
Expand Down

0 comments on commit d15bb75

Please sign in to comment.