knitr::opts_knit$set(root.dir = here::here("")) library(magrittr)
dir(here::here("data"), full.names = T) %>% file.remove() rm(list = ls(envir = globalenv(), all = T)) # clean data in current R session
devtools::test() # test the new data roxygen2::roxygenize() # you may also have edited data documentation system("R CMD INSTALL --no-multiarch --with-keep.source .") devtools::reload() # now you can use the new data in current R session
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.