prepareRepo.R

devtools::document()
devtools::install()
devtools::build_vignettes()

knitr::knit("vignettes/Introduction.Rmd", "README.md")

batches <- c(
  "[![Build Status](https://app.travis-ci.com/wahani/saeSim.svg?branch=master)](https://app.travis-ci.com/wahani/saeSim)",
  "[![CRAN Version](http://www.r-pkg.org/badges/version/saeSim)](http://cran.rstudio.com/web/packages/saeSim)",
  "![](http://cranlogs.r-pkg.org/badges/saeSim)",
  "[![codecov.io](https://codecov.io/github/wahani/saeSim/coverage.svg?branch=master)](https://codecov.io/github/wahani/saeSim?branch=master)",
  ""
)

readme <- readLines("README.md")
readme <- c(batches, readme[-(1:10)])
writeLines(readme, "README.md")
wahani/saeSim documentation built on Feb. 12, 2022, 7:21 p.m.