Skip to content

Commit

Permalink
Merge pull request #1 from ameliebaud/patch-1
Browse files Browse the repository at this point in the history
Update query_gn.R
  • Loading branch information
kbroman authored Nov 17, 2021
2 parents 38d3433 + 73e611e commit e81cd42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/query_gn.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ query_gn <-
result <- httr::GET(url)
httr::stop_for_status(result)
result <- httr::content(result, encoding=encoding, as=output)

result[unlist(lapply(result, is.null))] = NA

check_gn_error(result)
}

Expand Down

0 comments on commit e81cd42

Please sign in to comment.