-
Notifications
You must be signed in to change notification settings - Fork 118
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
klmr/box support #526
klmr/box support #526
Conversation
Co-authored-by: Jakub Nowicki <[email protected]>
Co-authored-by: Jakub Nowicki <[email protected]>
Basic klmr/box support
Add covr visibility into private box module functions
Feature/r6 objects
Tests for box module attached functions, three dots, aliases
Feature/code cleanup
Pre pr cleanup
Hi @jimhester, several of the CICD steps fail with |
Could you look into the test errors on R-devel? https://github.com/r-lib/rig might be useful to get and use R-devel locally if you don't have it already installed. |
@jimhester we have tried that (up to setting a VM with Ubuntu 20.04 to be closer to the CI environment), but it works there. We will investigate. |
* Added `replacements_box()` for `klmr/box` support. * Extracted `traverse_R6()` from `replacements_R6()` to reuse code in `replacements_box()`. * R6 class box modules test cases separated to handle a known R6 issues with `r-devel`. `skip_if(is_r_devel())` is used in the R6 test cases.
Hello @jimhester , the test errors on R-devel were caused by R6 classes in the test cases similar to the errors in Known CI issues:
|
* Adjusted DESCRIPTION and NEWS.md * Different condition to skip tests * Bump version for release --------- Co-authored-by: Jim Hester <[email protected]>
|
Hi @radbasa! What is currently blocking this PR? |
Hi @king-of-poppk , I believe it's an R 3.6.3 backports issue. CI is failing on Specifically, the problem is when
An August 2023 commit on |
* `activeBindingFunction()` needs to reset the environment’s class after clearing it. * `tryInvokeRestart()` was missing
@radbasa |
Thank you for the heads-up, I'll work on it. We'll have to wait for packagemanager.posit.co to serve [email protected]. |
@radbasa Sorry, meant |
Hi @jimhester , the backports issue with CI/CD |
Thanks for the update, LGTM |
Provide test coverage reports for
klmr/box
modules.Closes #491
Coverage reports for box modules work best with
covr::file_coverage()
.What works:
Changes:
R/R6.R: replacements_R6
for code reuse inR/box.R
R6 class support.Not implemented:
klmr/box
does not support S4.See
klmr/box
issues:S4
andbox
together:name '.cacheOnAssign' not found in 'env'
klmr/box#284