You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ahh - the problem is that the code to create the test/training data for the caravan data redefines train for the simulated data. This is leads to df[train,] to have zero rows, which when passed to the functions does not catch that there n is zero.
Will need to add checks to catch this and throw an error (plus unit test for case when n=0)
Describe the bug
When knitting the attache Rmd Document I get this error.
To Reproduce
Steps to reproduce the behavior:
See attached file (remove .txt extension and run on RStudio)
test_BAS.Rmd.txt
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
test in versions from both CRAN and github repo, locally installed
The text was updated successfully, but these errors were encountered: