inst/dummypackage/R/my_mean.R

#' my_mean
#'
#' @param x a vector
#'
#' @export
#' @importFrom magrittr %>%
my_mean <- function(x){
  x <- x %>% stats::na.omit()
  1+1
  sum(x)/base::length(x)
}

Try the attachment package in your browser

Any scripts or data that you put into this service are public.

attachment documentation built on June 7, 2023, 5:19 p.m.