R/add_efa.R

Defines functions add_efa

Documented in add_efa

#' Insert EFA Section
#'
#' @export
#'

add_efa <- function() {
  efa_url <- "https://raw.githubusercontent.com/dr-JT/semoutput/main/inst/extdata/_extensions/efa.qmd"

  # Make a GET request to retrieve the raw content of the file
  efa_text <- httr::content(httr::GET(efa_url), as = "text")
  rstudioapi::insertText(efa_text)
}
dr-JT/semoutput documentation built on March 25, 2024, 9:18 p.m.