From 79d892e4fe0f219a6b488d8d7722fe9ca2c021d6 Mon Sep 17 00:00:00 2001 From: slwu89 <10673535+slwu89@users.noreply.github.com> Date: Fri, 18 Nov 2022 07:25:13 -0800 Subject: [PATCH 1/2] add CRAN badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bd31a403..7833b2be 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![R-CMD-check](https://github.com/dd-harp/exDE/workflows/R-CMD-check/badge.svg)](https://github.com/dd-harp/exDE/actions) [![codecov](https://codecov.io/gh/dd-harp/exDE/branch/main/graph/badge.svg?token=S6WCEH4L8B)](https://app.codecov.io/gh/dd-harp/exDE) [![medRxiv](https://img.shields.io/badge/medRxiv-2022.11.07.22282044-brightgreen)](https://www.medrxiv.org/content/10.1101/2022.11.07.22282044v1) +[![CRAN](https://www.r-pkg.org/badges/version/exDE)](https://cran.r-project.org/package=exDE) ## What is exDE? From d0d2e928611f3d404737885c11e32a9a1436484a Mon Sep 17 00:00:00 2001 From: slwu89 <10673535+slwu89@users.noreply.github.com> Date: Fri, 18 Nov 2022 07:31:30 -0800 Subject: [PATCH 2/2] cran install notes --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7833b2be..5f960b31 100644 --- a/README.md +++ b/README.md @@ -28,13 +28,19 @@ The section "Functions" documents each function exported by the package. ## Installation -To install from an R session, run the following lines of code. +To install the latest version from GitHub, run the following lines of code in an R session. ``` library(devtools) devtools::install_github("dd-harp/exDE") ``` +Alternatively, you can install directly from [CRAN](https://cran.r-project.org/package=exDE) (please be aware that the version on CRAN may not be the latest version on GitHub): + +``` +install.packages("exDE") +``` + ## Contributing For information about how to contribute to the development of exDE, please read our article on how to contribute at `vignette("Contributing")`!