Skip to content

Fix issue regarding compatibility in updated R version#74

Open
lucillelu530 wants to merge 2 commits intofrbl:masterfrom
lucillelu530:master
Open

Fix issue regarding compatibility in updated R version#74
lucillelu530 wants to merge 2 commits intofrbl:masterfrom
lucillelu530:master

Conversation

@lucillelu530
Copy link

A small change in R/OnlineSuperLearner.R, where a function named get_validty() in the R6 class. The update fixes the logic used to validate summary_measure_generator so that the validity check only throws an error when the generator is missing or not of class SummaryMeasureGenerator, instead of incorrectly failing in valid cases; it also avoids errors caused by class() returning multiple values by ensuring the condition evaluates to a single TRUE/FALSE.

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

Successfully merging this pull request may close these issues.

1 participant

Comments