From 115cbf834496b98fdc417ce76ab235e91c350177 Mon Sep 17 00:00:00 2001 From: egillax Date: Tue, 2 Apr 2024 16:49:19 +0200 Subject: [PATCH] fix check NOTE about undeclared dependencies in vignettes --- vignettes/ConstrainedPredictors.Rmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vignettes/ConstrainedPredictors.Rmd b/vignettes/ConstrainedPredictors.Rmd index 5208a0d2a..8c1daadec 100644 --- a/vignettes/ConstrainedPredictors.Rmd +++ b/vignettes/ConstrainedPredictors.Rmd @@ -36,20 +36,20 @@ Here we provide a set of phenotypes that can be used as predictors in prediction These phenotypes can be extracted from the PhenotypeLibrary R package. To install the R package run: -```{r echo = T} +```{r, echo = TRUE, message = FALSE, warning = FALSE, tidy = FALSE, eval=FALSE} remotes::install_github('ohdsi/PhenotypeLibrary') ``` To extract the cohort definition for Alcoholism with an id of 1165, just run: -```{r echo = T} +```{r echo = TRUE, message = FALSE, warning = FALSE, tidy = FALSE, eval = FALSE} PhenotypeLibrary::getPlCohortDefinitionSet(1165) ``` in general you can extract all the cohorts by running: -```{r echo = T} +```{r echo = TRUE, message = FALSE, warning = FALSE, tidy = FALSE, eval = FALSE} phenotypeDefinitions <- PhenotypeLibrary::getPlCohortDefinitionSet(1152:1215) ```