tests/testthat/TestSummary/R/TestSummary.R

#' an example function
#'
#' @export
test_me <- function(x, y){
  if (TRUE)
    x + y
  else
    x - y
}

#' @export
dont_test_me <- function(x, y){
  x * y
}

Try the covr package in your browser

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

covr documentation built on Nov. 9, 2023, 9:07 a.m.