-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Check
WARNING
> tools::showNonASCIIfile("R/locale.R")
44: file_locale <- file_locale |> dplyr::filter(!.data$thousands %in% c("<d9><ac>", ".", ",", "\u0027")) # "<d9><ac>" es non-ASCII character
Va imágen porque GH convierte el símbolo:

NOTE
guess_locale: no visible binding for global variable 'locale_summary':
locale_summary está definido en data-raw/DATASET.R pero no construído allí, por lo que lo silencie con comentario. Definir si es necesario y encontrar dónde se construye
- En
R/strings.Rla funciónmakeup_chr()crea un objetoavailabel_formatspero luego usaformats, que no existe.
Al mismo tiempo usa el objetotoque nunca fue definido. Revisar si falta definir esos objetos o quedaron sin modificar a partir de los nuevos que figuran en la función:
makeup_chr <- function(v, sample = NULL, format = NULL){
if(!is.null(format)){
available_formats <- c("title","upper","lower","firstupper")
if(!format %in% formats){
stop("format must be one of: ", paste(formats, collapse = ", "))
}
fun <- paste0(to, format)
return(do.call(fun, list(v)))
}
match_caps(v, sample)
}
Metadata
Metadata
Assignees
Labels
No labels
