tests/run_tests.R

library(bayesTFR)
source('test_functions.R')

for(wpp in c(2010, 2012, 2015)) {
	test.load.UNtfr(wpp)
	test.load.UNlocations(wpp)
	test.create.tfr.matrix(wpp)
}
test.load.UNtfr.and.my.tfr.file()
test.existing.simulation()

## disable the following tests when submitting to CRAN
## to speed-up the checking procedure
# test.DLcurve()
# test.TFRtrajectories()
# test.plot.density()
# test.get.parameter.traces()
# test.median.adjust()
# test.plot.map()
# test.estimate.mcmc.with.suppl.data()
# test.run.mcmc.simulation()
# test.run.mcmc.simulation(compression='xz')
# test.imputation()
# test.thinned.simulation()
# test.thinned.simulation(compression='bz')
# test.run.mcmc.simulation.auto()
# test.run.mcmc.simulation.auto.parallel()
# test.plot.all()
jasonacollins/bayesTFR1 documentation built on May 23, 2019, 7:34 a.m.