# the following script allows for reproducible recreation of the
# R/sysdata.rda file used to automatically generate roxygen
# documentation for packages outputted by the package.
# read in the raw .R files for the desired documentation
weather_lines <- readLines("data-raw/weather.R")
planes_lines <- readLines("data-raw/planes.R")
flights_lines <- readLines("data-raw/flights.R")
airlines_lines <- readLines("data-raw/airlines.R")
airports_lines <- readLines("data-raw/airports.R")
# create the sysdata .Rda object that will be built internally
sysdata <- list(weather = weather_lines,
planes = planes_lines,
flights = flights_lines,
airlines = airlines_lines,
airports = airports_lines)
# save sysdata to file
save(sysdata, file = "R/sysdata.rda")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.