1#' Check if a string is numeric. 2#' 3#' Return \code{TRUE} if all characters in the string are numeric characters, and there is at least one 4#' character, \code{FALSE} otherwise. 5#' 6#' @param str A character vector. 7#' 8#' @return A logical vector. 9#' 10#' @references \url{https://docs.python.org/3/library/stdtypes.html#str.isnumeric} 11#' 12#' @seealso \code{\link{pystr_isalpha}}, \code{\link{pystr_isalnum}} 13#' 14#' @examples 15#' pystr_isnumeric("123") 16#' pystr_isnumeric("123a") 17#' pystr_isnumeric("123!") 18#' 19#' @export 20pystr_isnumeric <- function(str) { 21 return(pystr_isnumeric_(str)) 22} 23