-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c712a3e
commit 3321b08
Showing
19 changed files
with
262 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
# youthu | ||
|
||
## Transform Youth Outcomes to Health Utility Predictions with Ready4 | ||
## Transform Youth Outcomes to Health Utility Predictions | ||
|
||
<!-- badges: start --> | ||
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) | ||
[![ready4](https://img.shields.io/badge/ready4-prediction-forestgreen?style=flat&labelColor=black&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAFzUkdCAK7OHOkAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAIXRFWHRDcmVhdGlvbiBUaW1lADIwMjI6MDM6MDcgMTY6MTM6NTPZeG5UAAABa0lEQVQ4T4WT607CQBCFpyUi3qIR0eAfNfCi/vENfEgENIAIlcJ6vr1oLaZOerJzdst0zpklc49nznqHZs6ZfWwDem1xM1sqXwtXkb8rL4SuOLEoLXPPXWfD01Dg9dPsrTQbngQ+EZ+LDyIfiy/FHyIfFZbbTslWKOOqxx/uWBPSfp07FahGlqlNfWGqL9HNfBO+CAfwdO55WS8g4MFML834sfJVA9e7vwsg50aGohncdmRojV9XeL+jArRNmZxVSJ4Acj3NHqARdyeFJqC2KJiCfKE9zsfxnNYTl5TcCtmNMcwY/ZXf+3wdzzVza2vj4iCaq3d1R/bvwVSH6IPjNIUHx0FSNZA7WquDqOVb35+eiO8h7Oe+vRfp0a3yGtFMDuiAIg2R20YaVwJ3Hj+4kehO/J/I7VJ/jHtpvBP6mrHnR4EzdyQ0xI8HhM8jUiChxVpDK3iVuadzx43yRdI4E2d0gNtX74TCs419AR8YEST/cHPBAAAAAElFTkSuQmCC)](https://www.ready4-dev.com/toolkits/) | ||
[![ready4](https://img.shields.io/badge/ready4-prediction-forestgreen?style=flat&labelColor=black&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAFzUkdCAK7OHOkAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAIXRFWHRDcmVhdGlvbiBUaW1lADIwMjI6MDM6MDcgMTY6MTM6NTPZeG5UAAABa0lEQVQ4T4WT607CQBCFpyUi3qIR0eAfNfCi/vENfEgENIAIlcJ6vr1oLaZOerJzdst0zpklc49nznqHZs6ZfWwDem1xM1sqXwtXkb8rL4SuOLEoLXPPXWfD01Dg9dPsrTQbngQ+EZ+LDyIfiy/FHyIfFZbbTslWKOOqxx/uWBPSfp07FahGlqlNfWGqL9HNfBO+CAfwdO55WS8g4MFML834sfJVA9e7vwsg50aGohncdmRojV9XeL+jArRNmZxVSJ4Acj3NHqARdyeFJqC2KJiCfKE9zsfxnNYTl5TcCtmNMcwY/ZXf+3wdzzVza2vj4iCaq3d1R/bvwVSH6IPjNIUHx0FSNZA7WquDqOVb35+eiO8h7Oe+vRfp0a3yGtFMDuiAIg2R20YaVwJ3Hj+4kehO/J/I7VJ/jHtpvBP6mrHnR4EzdyQ0xI8HhM8jUiChxVpDK3iVuadzx43yRdI4E2d0gNtX74TCs419AR8YEST/cHPBAAAAAElFTkSuQmCC)](https://www.ready4-dev.com/docs/software/libraries/types/module/) | ||
[![R-CMD-check](https://github.com/ready4-dev/youthu/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/ready4-dev/youthu/actions/workflows/R-CMD-check.yaml) | ||
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.5646668.svg)](https://doi.org/10.5281/zenodo.5646668) | ||
<!-- badges: end --> | ||
|
||
Tools for mapping measures routinely collected in youth | ||
mental health services to Quality Adjusted Life Years (QALYs). Part of | ||
the ready4 youth mental health systems model | ||
(https://www.ready4-dev.com/). This development version of the youthu | ||
package has been made available as part of the process of testing and | ||
documenting the package. If you have any questions, please contact the | ||
authors (matthew.[email protected]). | ||
(https://www.ready4-dev.com/docs/model/). This development version of | ||
the youthu package has been made available as part of the process of | ||
testing and documenting the package. If you have any questions, please | ||
contact the authors (matthew.[email protected]). | ||
|
||
To install a development version of this software, run the following commands in your R console: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
library(generics) | ||
#library(generics) | ||
library(ready4) | ||
library(ready4show) | ||
library(ready4use) | ||
library(youthvars) | ||
library(scorz) | ||
#library(scorz) | ||
library(specific) | ||
ready4fun::write_fn_type_dirs() | ||
# MANUAL STEP. Write all your functions to R files in the new "fns" directory. | ||
fns_env_ls <- ready4fun::read_fns(c("data-raw/fns/","data-raw/mthds/"), | ||
fns_env = new.env(parent = globalenv())) | ||
x <- ready4fun::make_pkg_desc_ls(pkg_title_1L_chr = "Transform Youth Outcomes to Health Utility Predictions With Ready4", | ||
pkg_desc_1L_chr = "Tools for mapping measures routinely collected in youth mental health services to Quality Adjusted Life Years (QALYs). Part of the ready4 youth mental health systems model (https://www.ready4-dev.com/). | ||
This development version of the youthu package has been made available as part of the process of testing and documenting the package. If you have any questions, please contact the authors (matthew.[email protected]).", | ||
authors_prsn = c(utils::person(given = "Matthew",family = "Hamilton",email = "matthew.[email protected]", role = c("aut", "cre"),comment = c(ORCID = "0000-0001-7407-9194")), | ||
x <- ready4fun::make_pkg_desc_ls(pkg_title_1L_chr = "Transform Youth Outcomes to Health Utility Predictions", | ||
pkg_desc_1L_chr = "Tools for mapping measures routinely collected in youth mental health services to Quality Adjusted Life Years (QALYs). Part of the ready4 youth mental health systems model (https://www.ready4-dev.com/docs/model/). | ||
This development version of the youthu package has been made available as part of the process of testing and documenting the package. If you have any questions, please contact the authors (matthew.[email protected]).", | ||
authors_prsn = c(utils::person(given = "Matthew",family = "Hamilton",email = "matthew.[email protected]", role = c("aut", "cre"),comment = c(ORCID = "0000-0001-7407-9194")), | ||
utils::person(given = "Caroline",family = "Gao",email = "[email protected]", role = c("aut"),comment = c(ORCID = "0000-0002-0987-2759")), | ||
utils::person("Orygen", role = c("cph", "fnd")), | ||
utils::person("Headspace", role = c( "fnd")), | ||
|
@@ -54,7 +54,11 @@ z <- ready4pack::make_pt_ready4pack_manifest(x, | |
pkg_ds_ls_ls = datasets_ls) %>% | ||
ready4pack::ready4pack_manifest() | ||
z <- ready4::author(z) | ||
ready4::write_extra_pkgs_to_actions() | ||
ready4::write_extra_pkgs_to_actions(consent_1L_chr = "Y") | ||
write_to_edit_workflow("pkgdown.yaml", consent_1L_chr = "Y") # In other packages, run for "test-coverage.yaml" as well. | ||
readLines("_pkgdown.yml") %>% | ||
stringr::str_replace_all(" - text: Model", " - text: Framework & Model") %>% | ||
writeLines(con = "_pkgdown.yml") | ||
devtools::build_vignettes() | ||
# ready4::write_citation_cff(packageDescription("youthu"), | ||
# citation_chr = readLines("inst/CITATION")) | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ citEntry( | |
entry = "Manual", | ||
doi = "10.5281/zenodo.5646668", | ||
title = paste0(meta$Package,": ",meta$Title), | ||
author = c(person("Matthew Hamilton <matthew.[email protected]> [aut, cre]", "(<https://orcid.org/0000-0001-7407-9194>)"), person("Caroline Gao <[email protected]> [aut]", "(<https://orcid.org/0000-0002-0987-2759>)")), | ||
author = c(person("Matthew Hamilton <matthew.[email protected]> [aut, cre]", "(<https://orcid.org/0000-0001-7407-9194>)"), person("Caroline Gao <[email protected]> [aut]", "(<https://orcid.org/0000-0002-0987-2759>)")), | ||
year = "2023", | ||
note = sprintf("R package version %s", meta$Version), | ||
url = "https://ready4-dev.github.io/youthu/", | ||
textVersion = paste("Matthew Hamilton <matthew.[email protected]> [aut, cre] (<https://orcid.org/0000-0001-7407-9194>) and Caroline Gao <[email protected]> [aut] (<https://orcid.org/0000-0002-0987-2759>) ", | ||
textVersion = paste("Matthew Hamilton <matthew.[email protected]> [aut, cre] (<https://orcid.org/0000-0001-7407-9194>) and Caroline Gao <[email protected]> [aut] (<https://orcid.org/0000-0002-0987-2759>) ", | ||
"(2023).", | ||
paste0(meta$Package,": ",meta$Title, | ||
"."), | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.