SteffenMoritz / ridge

CRAN R Package: Ridge Regression with automatic selection of the penalty parameter
GNU General Public License v2.0
18 stars 11 forks source link

Fix predict bug for factors, add vcov.linearRidge, add testthat tests #4

Closed dfrankow closed 4 years ago

dfrankow commented 4 years ago

The testthat tests work with devtools::test() in my other fork, but strangely fail in this repo, which is very slightly different. However, testthat::test_file('tests/testthat/test.R') succeeds, so I believe the functionality is correct.

I would remove and .gitignore some generated files: config.log, config.status, src/Makevars. However, I did not want to get distracted with that.

dfrankow commented 4 years ago

Okay, fixed bug in DESCRIPTION. devtools::test() succeeds, as does the "Test Package" option in RStudio:

image