dev/build.R

# 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()
  
timriffe/DemoDecomp documentation built on Nov. 4, 2023, 4:15 p.m.