Skip to content

Commit

Permalink
Merge pull request #30 from OHDSI/cran_prep
Browse files Browse the repository at this point in the history
cran prep
  • Loading branch information
edward-burn authored Aug 30, 2024
2 parents 3731b20 + f5a58e1 commit bcc6642
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 7 deletions.
17 changes: 12 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
Package: phenotypeR
Type: Package
Title: Phenotype a set of cohorts in data mapped to a the OMOP common data model
Title: Assess Study Cohorts Using a Common Data Model
Version: 0.0.900
Author: Who wrote it
Maintainer: The package maintainer <[email protected]>
Description: More about what it does (maybe more than one line)
Use four spaces when indenting paragraphs within the Description.
Authors@R: c(
person("Edward", "Burn", , "[email protected]",
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-9286-1128")),
person("Marti", "Catala", , "[email protected]",
role = c("aut"), comment = c(ORCID = "0000-0003-3308-9905")),
person("Xihang", "Chen", , "[email protected]",
role = c("aut"), comment = c(ORCID = "0009-0001-8112-8959")),
person("Albert", "Prats-Uribe", , "[email protected]",
role = "aut", comment = c(ORCID = "0000-0003-1202-9153")))
Description: Phenotype study cohorts in data mapped to the
Observational Medical Outcomes Partnership Common Data Model.
License: Apache License (>= 2)
Encoding: UTF-8
LazyData: true
Expand Down
9 changes: 9 additions & 0 deletions R/codelistDiagnostics.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
#' @export
#'
#' @examples
#' \donttest{
#' library(CohortConstructor)
#'
#' cdm <- mockCohortConstructor(conditionOccurrence = TRUE)
#'
#' cohort <- conceptCohort(cdm = cdm, conceptSet = list(a = 1), name = "cohort")
#'
#' cohort |> attrition()
#' }
codelistDiagnostics <- function(cohort){

cdm <- omopgenerics::cdmReference(cohort)
Expand Down
15 changes: 13 additions & 2 deletions man/phenotypeR-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bcc6642

Please sign in to comment.