The following steps prepare a release using R Studio.
1. From the R Studio Build
menu, select Install and Restart
.
2. From the R Studio Build
menu, select Check Package
.
The following steps prepare a release via CLI on a Mac.
Install R.
brew install r
Install tex tools. Note: Need to close and reopen terminal (and/or RStudio) to see pdflatex
on the path.
brew cask install mactex
Install pandoc to check .md files.
brew install pandoc
Install RStudio.
Open oysteR.Rproj in RStudio.
Setup devtools.
In R Console tab, run: install.packages("devtools")
Run R Command to build.
R CMD build .
Run R Command to check. (Substitute the correct versioned x.y.x filename.)
R CMD check oysteR_x.y.z.tar.gz --as-cran
After a successful build/check, submit the oysteR_x.y.z.tar.gz
file to the win-builder project to verify it works on Windows. The upload page worked well for me. Submit the tar.gz to all three R versions: R-release, R-devel, R-oldrelease. (Give the Maintainer a heads up to watch for results emails from these submissions.)
steps?
Create an annotated tag and push it to github.
git tag -a vx.y.z -m "version x.y.z released to CRAN"
git push --follow-tags
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.