#' Title
#'
#' @param data data
#' @param a a
#'
#' @export
#' @importFrom dplyr rename
my_function <- function(data, a = "Species"){
data |>
rename({{a}}:= choup)
}
this will generate a NOTE in check
but the recommendation dont include := in globalVariable but to be added in NAMESPACE
let say we have a function like this :
this will generate a NOTE in check
but the recommendation dont include
:=
in globalVariable but to be added in NAMESPACEbut we cant do this :
because :
a working solution will be :