# Author: tim
###############################################################################
shhh <- function(expr){
capture.output(x <- suppressPackageStartupMessages(
suppressMessages(suppressWarnings(expr))))
invisible(x)
}
#setwd("/home/tim/git/DemoDecomp")
library(devtools)
#install_github("hadley/devtools")
# do this whenever new functions are added to /R, or whenever roxygen is updated
devtools::document()
# run this to get access to already-written functions
shhh(load_all())
# checks run Aug 13, 2018
devtools::check() # OK
check_win_devel() # OK
check_win_release() # OK
check_win_oldrelease() # OK
check_rhub(email = "tim.riffe@gmail.com", interactive = FALSE) # sent
library(spelling)
spell_check()
devtools::release()
#build(pkg = "/home/tim/git/DemoDecomp", path = "/home/tim/Desktop")
#?devtools::build
#devtools::use_testthat("/home/tim/git/DemoDecomp")
install_github("timriffe/DemoDecomp")
# these created the necessary files to run automatic remote code testing
#use_appveyor("/home/tim/git/DemoDecomp")
#use_travis("/home/tim/git/DemoDecomp")
#use_coverage(pkg = "/home/tim/git/DemoDecomp", type = c("codecov", "coveralls"))
# length(dir("/home/tim/git/DemoTools/man"))
library(devtools)
build()
check()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.