1#' Check if a string is alphanumeric. 2#' 3#' Return \code{TRUE} if all characters in the string are alphanumeric and there is at 4#' least one 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.isalnum} 11#' 12#' @seealso \code{\link{pystr_isalpha}}, \code{\link{pystr_isnumeric}} 13#' 14#' @examples 15#' pystr_isalnum("abc") 16#' pystr_isalnum("abc123") 17#' pystr_isalnum("abc123!") 18#' pystr_isalnum(c("one", "2", "three!")) 19#' 20#' @export 21pystr_isalnum <- function(str) { 22 return(pystr_isalnum_(str)) 23} 24