knitr::opts_chunk$set(echo = TRUE)
devtools::create("pakke1") devtools::document() #converts documentations usethis::use_vignette("testvig") usethis::use_package_doc() #docs for package devtools::build() devtools::load_all() usethis::use_mit_license() devtools::install() usethis::use_readme_md()
devtools::install_github("Best-Nicklas/TestPackageSiteR")
usethis::use_pkgdown() # Run to build the website pkgdown::build_site() usethis::use_pkgdown_github_pages()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.