Skip to content

Commit

Permalink
added methods to import
Browse files Browse the repository at this point in the history
  • Loading branch information
schochastics committed Oct 30, 2024
1 parent 00ac598 commit ff079a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Imports:
dplyr,
httr,
jsonlite,
methods,
tibble
Suggests:
knitr,
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ rtoot_ask <- function(prompt = "enter authorization code: ", pass = TRUE, check_

handle_id <- function(x) {
## Convert x to snowflake id if it is POSIXct
if (is(x, "POSIXct")) {
if (methods::is(x, "POSIXct")) {
return(as.numeric(x) * (2^16) * 1000)
}
x
Expand Down

0 comments on commit ff079a2

Please sign in to comment.