WD <- '~/Desktop/'
setwd(WD)
if(F){
install.packages("formatR")
}
devtools::create("BayesMPSimulation")
WD2 <- '~/Desktop/BayesMPSimulation'
## licenses
## copy your code into /R folder
setwd(WD2)
## make the code neat
formatR::tidy_dir("R")
## dependency
## check the package
devtools::check()
## build the package
devtools::build()
devtools::install()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.