darthpack
is an R package that showcases the Decision Analysis in R for Technologies in Health (DARTH) coding framework to construct model-based cost-effectiveness analysis in R. The main website of darthpack
can be found here.
darthpack
is part of the following manuscript:
The release that accompanies the published article has been archived in zenodo: https://zenodo.org/record/3445451.
devtools
to install darthpack
as a package and modify it to generate your own package# Install release version from CRAN
install.packages("devtools")
# Or install development version from GitHub
# devtools::install_github("r-lib/devtools")
pkgdown
to publish darthpack
or your own darthpack
-based repository or package as a website (optional)# Install release version from CRAN
install.packages("pkgdown")
# Or install development version from GitHub
# devtools::install_github("r-lib/pkgdown")
darthpack
repository could be used in at least three different ways:
darthpack
GitHub repositorydarthpack
The main website of the package could be found in: https://darth-git.github.io/darthpack/
darthpack
GitHub repository, navigate to the main page of the repository (https://github.com/DARTH-git/darthpack).darthpack.Rproj
.dampack
, please follow these instructions:# Install development version from GitHub
devtools::install_github("DARTH-git/dampack")
devtools::load_all(".")
darthpack
GitHub repository, navigate to the main page of the repository (https://github.com/DARTH-git/darthpack).darthpack.Rproj
.dampack
, please follow these instructions:# Install development version from GitHub
devtools::install_github("DARTH-git/dampack")
devtools::load_all(".")
darthpack
from GitHub with:devtools::install_github("DARTH-git/darthpack")
library(darthpack)
Once the framework has been modified and updated to your specific needs, run pkgdown
from the package directory each time you release your package:
pkgdown::build_site()
For a more detailed description on how to quickly and easily build a website for your package, please go to https://github.com/r-lib/pkgdown and