diff --git a/README.Rmd b/README.Rmd index 269e77f..4143618 100644 --- a/README.Rmd +++ b/README.Rmd @@ -17,6 +17,7 @@ knitr::opts_chunk$set( # BayesMallowsSMC2 +[![CRAN status](https://www.r-pkg.org/badges/version/BayesMallowsSMC2)](https://CRAN.R-project.org/package=BayesMallowsSMC2) [![R-CMD-check](https://github.com/osorensen/BayesMallowsSMC2/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/osorensen/BayesMallowsSMC2/actions/workflows/R-CMD-check.yaml) @@ -24,7 +25,13 @@ BayesMallowsSMC2 provides functions for performing sequential inference in the B ## Installation -You can install the development version of BayesMallowsSMC2 from [GitHub](https://github.com/) with: +You can install the released version of BayesMallowsSMC2 from [CRAN](https://CRAN.R-project.org) with: + +``` r +install.packages("BayesMallowsSMC2") +``` + +Or install the development version of BayesMallowsSMC2 from [GitHub](https://github.com/) with: ``` r # install.packages("devtools") diff --git a/README.md b/README.md index e1aad68..bef5336 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ +[![CRAN +status](https://www.r-pkg.org/badges/version/BayesMallowsSMC2)](https://CRAN.R-project.org/package=BayesMallowsSMC2) [![R-CMD-check](https://github.com/osorensen/BayesMallowsSMC2/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/osorensen/BayesMallowsSMC2/actions/workflows/R-CMD-check.yaml) @@ -14,7 +16,14 @@ in the Bayesian Mallows model using the SMC2 algorithm (Sørensen et al. ## Installation -You can install the development version of BayesMallowsSMC2 from +You can install the released version of BayesMallowsSMC2 from +[CRAN](https://CRAN.R-project.org) with: + +``` r +install.packages("BayesMallowsSMC2") +``` + +Or install the development version of BayesMallowsSMC2 from [GitHub](https://github.com/) with: ``` r