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

Open
ecoronado92 opened this issue Oct 30, 2018 · 2 comments
Open

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

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

Comments

@ecoronado92
Copy link

@ecoronado92 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

@merliseclyde merliseclyde commented Nov 1, 2018

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
@merliseclyde merliseclyde added the bug label Nov 1, 2018
@ecoronado92
Copy link
Author

@ecoronado92 ecoronado92 commented Nov 1, 2018

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

merliseclyde added a commit that referenced this issue Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.