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

BLAS/LAPACK routine DSYRK gave error code -7 #37

Closed
ecoronado92 opened this issue Oct 30, 2018 · 3 comments
Closed

BLAS/LAPACK routine DSYRK gave error code -7 #37

ecoronado92 opened this issue Oct 30, 2018 · 3 comments
Assignees
Labels

Comments

@ecoronado92
Copy link

ecoronado92 commented Oct 30, 2018

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):

  • MacOS Mojave

Additional context
test in versions from both CRAN and github repo, locally installed

@merliseclyde
Copy link
Owner

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)

Thanks! m

@merliseclyde merliseclyde self-assigned this Nov 1, 2018
@ecoronado92
Copy link
Author

I see! Ok that makes sense - glad I was able to help with this bug :)

@merliseclyde
Copy link
Owner

Addressed in release BAS 1.5.4 (forgot to close issue :-)

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

No branches or pull requests

2 participants