OHDSI / PheValuator

An R package for evaluating phenotype algorithms.
https://ohdsi.github.io/PheValuator/
17 stars 6 forks source link

Code errors identified by R check #31

Open schuemie opened 2 years ago

schuemie commented 2 years ago

In the R check results, under "checking R code for possible problems" there are some issues I think are very serious. For example:

createAcutePhenotypeModel: no visible global function definition for
  ‘errorCheck’

The createAcutePhenotypeModel() calls the errorCheck() function, but this function is not defined in the package. Instead, the function is in the extras folder, and would not be available to the user at runtime.

So right now if the user calls createAcutePhenotypeModel() this will generate an error.