Skip to content

Commit

Permalink
remove unused utils
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher committed Oct 18, 2023
1 parent 1e5bcba commit 5e5473a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -620,9 +620,3 @@ is_bool = function(x) {
dtypes_are_struct = function(dtypes) {
sapply(dtypes, \(dt) pl$same_outer_dt(dt, pl$Struct()))
}

# from tools::file_ext()
file_ext <- function(x) {
pos <- regexpr("\\.([[:alnum:]]+)$", x)
ifelse(pos > -1L, substring(x, pos + 1L), "")
}

0 comments on commit 5e5473a

Please sign in to comment.