Closed l-gorman closed 1 year ago
Thank you for creating this PR. Unfortunately, except
cannot simply be removed because it is needed for the case where a forward search is run with nterms_max = 0
(which should not occur in practice, but still, this is a supported case, so we need to support it further). I would be inclined to set the minimum required R version to 4.2.0, but if you need to have an official projpred version which supports R < 4.2.0, then I can try to re-use the relevant code which existed before commit e11edc75e330be205a6a28b619eaeb4f11b7a2f7.
I understand that we cannot include this, see full response in #423
Removal of
Except
Argument in CV_Varsel Simplify2 ArrayAttempt to fix #423. Very simple fix (unless I am missing something fundamental), I am removing the
except=NULL
argument, for the simplify2array function, called in thekfold_varsel
function. I ran through with the example from thecv_varsel
documentation.I compared the outputs of these two calls:
And they appear to be the same (although I am no expert so I may be missing something. I am currently running this an an example dataset of my own to also see if this works.
I know this is such a minor change, but I hope it helps a little! Sorry again for all of the hassle with my questions :)