Skip to content

Commit

Permalink
Don't count lines when con is textConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
wkmor1 committed Aug 28, 2024
1 parent 22f6d7f commit be4ca5b
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 @@ -1517,7 +1517,7 @@ nlines <- function(fb_occurrence_obj) {

n <- -1L

cond <- TRUE
cond <- !inherits(con, "textConnection")

while (cond) {

Expand Down

0 comments on commit be4ca5b

Please sign in to comment.