Skip to content

Commit

Permalink
fix NEWS symbol and problem to design name
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed Apr 16, 2024
1 parent b317042 commit d5ca7ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PatientLevelPrediction 6.3.7.9999
======================
======================

PatientLevelPrediction 6.3.7
======================
Expand Down
8 changes: 4 additions & 4 deletions R/ExternalValidatePlp.R
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ validateExternal <- function(validationDesignList,
if (inherits(databaseDetails, 'list')) {
lapply(databaseDetails, function(x)
checkIsClass(x, 'databaseDetails'))
} else{
} else {
checkIsClass(databaseDetails, 'databaseDetails')
databaseDetails <- list(databaseDetails)
}
Expand Down Expand Up @@ -482,7 +482,7 @@ validateExternal <- function(validationDesignList,
plpDataLocation <-
file.path(outputFolder, databaseName, plpDataName)
if (!dir.exists(file.path(outputFolder, databaseName))) {
dir.create(file.path(outputFolder, databaseName), recursive = T)
dir.create(file.path(outputFolder, databaseName), recursive = TRUE)
}
savePlpData(plpData, file = plpDataLocation)

Expand All @@ -492,8 +492,8 @@ validateExternal <- function(validationDesignList,
createStudyPopulation,
list(
plpData = plpData,
outcomeId = problem$outcomeId,
populationSettings = problem$populationSettings
outcomeId = design$outcomeId,
populationSettings = design$populationSettings
)
)
},
Expand Down

0 comments on commit d5ca7ee

Please sign in to comment.