merliseclyde / BAS

BAS R package for Bayesian Model Averaging and Variable Selection
https://merliseclyde.github.io/BAS/
GNU General Public License v3.0
42 stars 16 forks source link

drop use of SETLENGTH #82

Open merliseclyde opened 2 months ago

merliseclyde commented 2 months ago

As SETLENGTH is not part of the public API, all calls of SETLENGTH need to be replaced in advance of strict enforcement

merliseclyde commented 2 months ago

removed all occurrences of SETLENGTH and updated code appropriately to truncate over-allocated vectors per https://github.com/r-lib/fs/issues/450

merliseclyde commented 2 months ago

Reopening due to imbalance problems flagged when running tests outside of R CMD check. Code has reverted back to using SETLENGTH to avoid the stack imbalance