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

drop use of SETLENGTH #82

Open
merliseclyde opened this issue Sep 14, 2024 · 2 comments
Open

drop use of SETLENGTH #82

merliseclyde opened this issue Sep 14, 2024 · 2 comments
Assignees
Labels
CRAN Note Notes on cran-checks to address work in progress

Comments

@merliseclyde
Copy link
Owner

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

@merliseclyde
Copy link
Owner Author

removed all occurrences of SETLENGTH and updated code appropriately to truncate over-allocated vectors per r-lib/fs#450

@merliseclyde merliseclyde reopened this Sep 17, 2024
@merliseclyde
Copy link
Owner Author

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

merliseclyde added a commit that referenced this issue Nov 19, 2024
related to fixing use of SETLENGTH in lm_sampleworep.c and Issue #82
Check Code coverage to see if changes
now bypass SETLENGTH (covered previously in tests)
@merliseclyde merliseclyde self-assigned this Nov 19, 2024
@merliseclyde merliseclyde added CRAN Note Notes on cran-checks to address work in progress labels Nov 19, 2024
merliseclyde added a commit that referenced this issue Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CRAN Note Notes on cran-checks to address work in progress
Projects
None yet
Development

No branches or pull requests

1 participant