R/can-be-num.R

Defines functions can_be_numeric

Documented in can_be_numeric

#' Check if a string could be considered as numeric.
#'
#' Copy of [strex::str_can_be_numeric()].
#'
#' @inheritParams match_arg
#'
#' @export
can_be_numeric <- function(...) {
  strex::str_can_be_numeric(...)
}

#' @rdname can_be_numeric
#' @export
str_can_be_numeric <- can_be_numeric

Try the filesstrings package in your browser

Any scripts or data that you put into this service are public.

filesstrings documentation built on May 29, 2024, 3:32 a.m.