OHDSI Home | Forums | Wiki | Github

Strategus example study

Hi everyone,

I’m trying to run the example study in the Strategus package.
Following the vignette, I defined the analysis specification.
When I try to execute (using the instruction in the corresponding vignette) the analysis, however, I get the following error:

Error in loadNamespace(x) : there is no package called ‘checkmate’
Calls: … loadNamespace → withRestarts → withOneRestart → doWithOneRestart
Execution halted
:heavy_multiplication_x: error target CohortMethodModule_5
:arrow_forward: end pipeline [27.998 seconds]
Error:
! Error running targets::tar_make()
Error messages: targets::tar_meta(fields = error, complete_only = TRUE)

It’s perplexing because I’ve verified that the checkmate package is installed (v2.3.0), but there might be something crucial that I’m overlooking in the entire process.

Has anyone encountered similar issues and/or does anyone know how I can proceed to resolve this?

Thanks in advance,
Vittoria

Hi Vittoria,

I had the same error, did you install the packages in the CohortMethodModule inside your StrategusModulesHome? I had to install a few packages that way.

Hope this helps,
Milou

Hi Milou,
thanks for your answer.
Just to be sure, by StrategusModulesHome you mean the folder I set for module storage?

Correct!

t