Skip to content

Commit d463c41

Browse files
committed
fix checks
1 parent 1b0de91 commit d463c41

5 files changed

+9
-6
lines changed

DESCRIPTION

+2-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ Suggests:
5151
shiny,
5252
OhdsiShinyModules,
5353
rsconnect,
54-
yaml
54+
yaml,
55+
ggplot2
5556
Remotes:
5657
ohdsi/OhdsiShinyModules
5758
License: Apache License

R/ConceptSetUtils.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ exportConceptSets <- function(cohortDefinitionSet, exportFolder, minCellCount, d
301301
minCellCount = minCellCount,
302302
databaseId = databaseId,
303303
incremental = FALSE,
304-
cohortId = conceptSetsExport$cohortId
304+
cohortId = cohortDefinitionSet$cohortId
305305
)
306306
}
307307

R/executeDiagnostics.R

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#' Get default covariate settings
1818
#' @description
1919
#' Default covariate settings for cohort diagnostics execution
20+
#'
21+
#' @return Default covariate settings
2022
#' @export
2123
getDefaultCovariateSettings <- function() {
2224
FeatureExtraction::createTemporalCovariateSettings(
@@ -649,7 +651,7 @@ executeDiagnostics <- function(cohortDefinitionSet,
649651
minCellCount = minCellCount,
650652
databaseId = databaseId,
651653
incremental = FALSE,
652-
cohortId = cohorts$cohortId
654+
cohortId = cohortDefinitionSet$cohortId
653655
)
654656
}
655657
)

R/plotLogFile.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
readLog <- function(path) {
2-
df <- read.csv(path, sep = "\t", header = FALSE)
2+
df <- utils::read.csv(path, sep = "\t", header = FALSE)
33
names(df) <- c("time", "thread", "level", "package", "task", "message")
44

55
df %>%

R/runIndexEventBreakdown.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -270,10 +270,10 @@ runBreakdownIndexEvents <- function(connection,
270270
return(NULL)
271271
}
272272

273-
if (incremental && (nrow(cohorts) - nrow(subset)) > 0) {
273+
if (incremental && (nrow(cohortDefinitionSet) - nrow(subset)) > 0) {
274274
ParallelLogger::logInfo(sprintf(
275275
"Skipping %s cohorts in incremental mode.",
276-
nrow(cohorts) - nrow(subset)
276+
nrow(cohortDefinitionSet) - nrow(subset)
277277
))
278278
}
279279

0 commit comments

Comments
 (0)