R/run-tiny-test.R

Defines functions run_tiny_test

Documented in run_tiny_test

#' Run {tinytest} on a package
#'
#' You should really bind this to something like cmd-opt-shift-t.
#'
#' @export
run_tiny_test <- function() {
  try(tinytest::test_all(rprojroot::find_package_root_file()), silent = TRUE)
}
hrbrmstr/hrbraddins documentation built on Oct. 20, 2019, 7:43 a.m.