From 475f0a89f7f3e1869dd47b6559d9945621b2253a Mon Sep 17 00:00:00 2001 From: Fernando Alarid-Escudero Date: Tue, 10 Nov 2026 12:08:52 -0800 Subject: [PATCH 1/2] README: add R-CMD-check, release and license badges Edited README.md directly rather than re-rendering it, because README.md has hand edits not reflected in README.Rmd. --- README.Rmd | 6 ++++++ README.md | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/README.Rmd b/README.Rmd index 223b54e..18a68d3 100644 --- a/README.Rmd +++ b/README.Rmd @@ -4,6 +4,12 @@ output: github_document # darthtools + +[![R-CMD-check](https://github.com/DARTH-git/darthtools/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/DARTH-git/darthtools/actions/workflows/R-CMD-check.yaml) +[![GitHub release](https://img.shields.io/github/v/release/DARTH-git/darthtools)](https://github.com/DARTH-git/darthtools/releases/latest) +[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE.md) + + [`darthtools`](https://github.com/DARTH-git/darthtools) is an R package that contains tools developed by the [Decision Analysis in R for Technologies in Health (DARTH)](https://darthworkgroup.com) workgroup to construct model-based cost-effectiveness analysis in R. # Preliminaries diff --git a/README.md b/README.md index cc63d36..a752b5c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,13 @@ # darthtools + + +[![R-CMD-check](https://github.com/DARTH-git/darthtools/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/DARTH-git/darthtools/actions/workflows/R-CMD-check.yaml) +[![GitHub release](https://img.shields.io/github/v/release/DARTH-git/darthtools)](https://github.com/DARTH-git/darthtools/releases/latest) +[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE.md) + + [`darthtools`](https://github.com/DARTH-git/darthtools) is an R package that contains tools developed by the [Decision Analysis in R for Technologies in Health (DARTH)](https://darthworkgroup.com) workgroup to From 9ac8c886ff461eac92c3455de69a8eb082307fac Mon Sep 17 00:00:00 2001 From: Fernando Alarid-Escudero Date: Tue, 10 Nov 2026 12:10:15 -0800 Subject: [PATCH 2/2] README: sync README.Rmd with hand edits and re-render README.md Move the updated RStudio link (posit.co) from README.md into README.Rmd, so README.md can be regenerated from README.Rmd again. The rest of the README.md diff is formatting from the current pandoc version. --- README.Rmd | 2 +- README.md | 19 +++++++------------ 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/README.Rmd b/README.Rmd index 18a68d3..1f1d18f 100644 --- a/README.Rmd +++ b/README.Rmd @@ -13,7 +13,7 @@ output: github_document [`darthtools`](https://github.com/DARTH-git/darthtools) is an R package that contains tools developed by the [Decision Analysis in R for Technologies in Health (DARTH)](https://darthworkgroup.com) workgroup to construct model-based cost-effectiveness analysis in R. # Preliminaries -- Install [RStudio](https://www.rstudio.com/products/rstudio/download/) +- Install [RStudio](https://posit.co/download/rstudio-desktop/) - Install `devtools` to install `darthtools` as a package and modify it to generate your own package ```{r, eval=FALSE} # Install release version from CRAN diff --git a/README.md b/README.md index a752b5c..1d1b12c 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,10 @@ [![R-CMD-check](https://github.com/DARTH-git/darthtools/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/DARTH-git/darthtools/actions/workflows/R-CMD-check.yaml) -[![GitHub release](https://img.shields.io/github/v/release/DARTH-git/darthtools)](https://github.com/DARTH-git/darthtools/releases/latest) -[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE.md) +[![GitHub +release](https://img.shields.io/github/v/release/DARTH-git/darthtools)](https://github.com/DARTH-git/darthtools/releases/latest) +[![License: +MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE.md) [`darthtools`](https://github.com/DARTH-git/darthtools) is an R package @@ -15,12 +17,9 @@ construct model-based cost-effectiveness analysis in R. # Preliminaries - - Install - [RStudio](https://posit.co/download/rstudio-desktop/) - - Install `devtools` to install `darthtools` as a package and modify - it to generate your own package - - +- Install [RStudio](https://posit.co/download/rstudio-desktop/) +- Install `devtools` to install `darthtools` as a package and modify it + to generate your own package ``` r # Install release version from CRAN @@ -35,16 +34,12 @@ install.packages("devtools") 1. Install the development version of `darthtools` from [GitHub](https://github.com) with: - - ``` r devtools::install_github("DARTH-git/darthtools") ``` 2. Load all the functions and data from the repository by typing - - ``` r library(darthtools) ```