1#' Lowercase a string.
2#'
3#' Return a copy of the string with all the cased characters converted to lowercase.
4#'
5#' @param str A character vector.
6#'
7#' @return A character vector.
8#'
9#' @references \url{https://docs.python.org/3/library/stdtypes.html#str.lower}
10#'
11#' @seealso \code{\link{pystr_upper}}
12#'
13#' @examples
14#' pystr_lower("LOWERCASE ME!")
15#'
16#' @export
17pystr_lower <- function(str) {
18  return(vapply(str, tolower, character(1), USE.NAMES = FALSE))
19}
20