Hello,
We are currently stuck trying to execute a PLE study package (ATLAS) and cannot figure out what to change for the study to run correctly. The study fails on generating positive controls, but even when this line is commented out the package still will not run and has the error message “Only 0’s may be mixed with negative subscripts”. Is anyone able to see if they understand better what the issue is?
Thank you very much.
Thread: 3
Message: only 0's may be mixed with negative subscripts
Level: FATAL
Time: 2022-09-16 16:52:54
Stack trace:
4: .handleSimpleError(function (e)
{
ParallelLogger::logFatal(conditionMe
3: which(population$endDate[idx] >= population$startDate[idx + 1] & population
2: createStudyPopulation(restrictToCommonPeriod = FALSE, removeDuplicateSubjec
1: do.call("createStudyPopulation", args)
Thread: 1
Message: only 0's may be mixed with negative subscripts
Level: FATAL
Time: 2022-09-16 16:52:54
Stack trace:
4: .handleSimpleError(function (e)
{
ParallelLogger::logFatal(conditionMe
3: which(population$endDate[idx] >= population$startDate[idx + 1] & population
2: createStudyPopulation(restrictToCommonPeriod = FALSE, removeDuplicateSubjec
1: do.call("createStudyPopulation", args)
Thread: 2
Message: only 0's may be mixed with negative subscripts
Level: FATAL
Time: 2022-09-16 16:52:54
Stack trace:
4: .handleSimpleError(function (e)
{
ParallelLogger::logFatal(conditionMe
3: which(population$endDate[idx] >= population$startDate[idx + 1] & population
2: createStudyPopulation(restrictToCommonPeriod = FALSE, removeDuplicateSubjec
1: do.call("createStudyPopulation", args)
Thread: Main
Message: Error in ParallelLogger::clusterApply(cluster, objectsToCreate, createStudyPopObject) : Error(s) when calling function 'fun', see earlier messages for details
Level: FATAL
Time: 2022-09-16 16:52:55
Stack trace:
5: stop(message)
4: ParallelLogger::clusterApply(cluster, objectsToCreate, createStudyPopObject)
3: CohortMethod.R#60: CohortMethod::runCmAnalyses(connectionDetails = connectionDetai
2: Main.R#123: runCohortMethod(connectionDetails = connectionDetails, cdmDatabaseSche
1: execute(connectionDetails = connectionDetails, cdmDatabaseSchema = cdmDatabaseSche
R version:
R version 4.0.4 (2021-02-15)
Platform:
x86_64-pc-linux-gnu
Attached base packages:
- stats
- graphics
- grDevices
- datasets
- utils
- methods
- base
Other attached packages:
- EHDENCOVIDUseCase2 (0.0.1)
- DatabaseConnector (3.0.0)