Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in PLP when called from Strategus #29

Open
TomWhite-MedStar opened this issue May 21, 2023 · 1 comment
Open

Error in PLP when called from Strategus #29

TomWhite-MedStar opened this issue May 21, 2023 · 1 comment

Comments

@TomWhite-MedStar
Copy link

When running either of the two main Strategus projects (AntiVegf and Flouroquinolone), the run fails during PLP with this message:
Error in !migrations$executed : invalid argument type
This occurs at line # 216 of DataMigrationManager.R
The line in question is migrations[!migrations$executed, ]

I am using R version 4.2.3
I happen to be using Databricks, but the error appears independent of the DBMS.

@TomWhite-MedStar
Copy link
Author

The root issue may be line 130 in DataMigrationManger.R, which returns and empty data.frame(). So if migrations <- data.frame(), then migrations$executed is NULL and !migrations$executed throws invalid argument type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant