# Step 0: Packages you will need
#install.packages("devtools")
#install.packages("roxygen2")
library(devtools)
library(roxygen2)
# Step 1: Create your package directory
setwd("/Users/ravinpoudel/Documents/myRpackages/")
# create("myFunctions")
# Step 2: Add functions to the R folder into myFunctions package folder
# Step 3: Add documentation
# Step 4: Process your documentation
setwd("./myFunctions")
document()
# load the library
library(myFunctions)
packageVersion("myFunctions")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.