Skip to content

Commit

Permalink
Fix column selection for data.table reads
Browse files Browse the repository at this point in the history
  • Loading branch information
wkmor1 committed Feb 8, 2024
1 parent 6c01109 commit 39848ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/finbif_occurrence_load.R
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ dt_read <- function(fb_occurrence_obj) {

args[["header"]] <- FALSE

df <- structure(vector("list", length(args_select)), class = "data.frame")
df <- structure(vector("list", length(args[["select"]])), class = "data.frame")

if (file.exists(args[["input"]])) {

Expand Down

0 comments on commit 39848ce

Please sign in to comment.