# main.R
# Mark Hagemann
# 7/10/2018
# Preparing the package for use
library(devtools)
use_package("dplyr")
use_package("purrr")
use_package("ggplot2")
use_package("tidyr")
use_package("reshape2")
use_package("bamr", type = "suggests")
use_package("rstan", type = "suggests")
use_package("ncdf4", type = "suggests")
use_vignette("swotlists")
use_vignette("test") # Just so I can see the hints in the default file. To be delted.
#' Load the extdata folder with an example netcdf
file.copy("../SWOT/data/ncdata/SacramentoDownstream.nc", to = "inst/extdata")
# Build pkgdown site
usethis::use_github_links()
pkgdown::build_site()
# Document and install
devtools::document()
devtools::install()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.