R/addins.R

Defines functions roxytest_addin

roxytest_addin <- function() {
  context <- rstudioapi::getActiveDocumentContext()
  text <- context$selection[[1]]$text
  make_test_shell_fun(text, roxytest = TRUE)
}
rorynolan/exampletestr documentation built on June 27, 2023, 5:58 p.m.