diff --git a/DESCRIPTION b/DESCRIPTION index a9755ca..ebda399 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -21,6 +21,7 @@ Imports: dplyr, httr, jsonlite, + methods, tibble Suggests: knitr, diff --git a/R/utils.R b/R/utils.R index dabb06d..54aa2d0 100644 --- a/R/utils.R +++ b/R/utils.R @@ -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