README.md

just.testing

Just.testing is just a package I use to test things out on…

Installation

You can install the released version of just.testing from CRAN with:

install.packages("just.testing")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("karlropkins/just.testing")

Example

This is a basic example which shows you how to solve a common problem:

library(just.testing)
## basic example code

What is special about using README.Rmd instead of just README.md? You can include R chunks like so:

summary(example.data)
#>        id              ans    
#>  Min.   :  1.00   h      : 8  
#>  1st Qu.: 25.75   o      : 7  
#>  Median : 50.50   v      : 7  
#>  Mean   : 50.50   i      : 6  
#>  3rd Qu.: 75.25   m      : 6  
#>  Max.   :100.00   j      : 5  
#>                   (Other):61

You’ll still need to render README.Rmd regularly, to keep README.md up-to-date. devtools::build_readme() is handy for this. You could also use GitHub Actions to re-render README.Rmd every time you push. An example workflow can be found here: https://github.com/r-lib/actions/tree/master/examples.

You can also embed plots, for example:

In that case, don’t forget to commit and push the resulting figure files, so they display on GitHub and CRAN.



karlropkins/just.testing documentation built on March 27, 2022, 4:28 p.m.