# main.R
# 7/6/2015
# package deals
library(devtools)
library(assertthat)
# library(testthat)
# library(dplyr)
# library(mgcv)
# library(conditionalSample)
#
devtools::load_all()
# package documentation
# setup package utilities
use_package("assertthat")
# use_package("testthat")
use_package("dplyr")
use_package("httr")
# use_package("mgcv")
# use_package("conditionalSample")
# use_package("nlme")
# # use_package("markstats", type = "Depends")
# use_package("R.utils")
# use_package("leaflet", type = "suggests")
# devtools::use_testthat()
# document
devtools::document()
# test
devtools::test()
# Vignettes
devtools::use_vignette("retrieval") # data retrieval
# Datasets ----------------------------------------------------------------
# dir.create("data")
use_data(Phosphorus, overwrite = TRUE)
use_data(nitrateData, overwrite = TRUE)
# internal, for functions
use_data(scTable, olsonTbl, tzTable, no3Flow,
internal = TRUE, overwrite = TRUE)
# load and install package ------------------------------------------------
devtools::install_github("markwh/markstats")
devtools::install()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.