dynamic_path_of_script <- dirname(rstudioapi::getSourceEditorContext()$path)
setwd(dynamic_path_of_script)
if (!require("devtools")) {
install.packages("devtools")
library("devtools")
}
if (!require("roxygen2")) {
devtools::install_github("klutometis/roxygen")
library(roxygen2)
}
document()
# For License info
# install.packages("usethis")
# library("usethis")
# usethis::use_mit_license()
# FYI: great reference source for how to write documentation: https://r-pkgs.org/man.html#text-formatting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.