Skip to content

Commit

Permalink
autoconversion of data.frame to tibble
Browse files Browse the repository at this point in the history
  • Loading branch information
super-lou committed Nov 12, 2024
1 parent 164f2d5 commit 3751289
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/process_extraction.R
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,8 @@ process_extraction = function(data,

# check data
if (!tibble::is_tibble(data)) {
stop ("'data' is not a tibble from the tibble package. This tibble needs a unique column of objects of class 'Date'")
# stop ("'data' is not a tibble from the tibble package. This tibble needs a unique column of objects of class 'Date'")
data = tibble::as_tibble(data)
}

# check Date column
Expand Down

0 comments on commit 3751289

Please sign in to comment.