-
Notifications
You must be signed in to change notification settings - Fork 37
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
Proper use of restore and proxy #322
Comments
Should the correct use of |
There is currently no documentation for creating new primitive vctrs operations since all these patterns are currently internal. Documenting this is on the long term horizon. Currently, users are expected to use the existing operations like |
- Fix documentation on usage of `vctrs::vec_proxy()` and `vctrs::vec_restore()` (#322).
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary. |
The vignette showcases improper use of restore and proxy:
Here
var_
is restoring to the proxy. The correct procedure is: Take the proxy, operate on it (e.g. withvar()
), restore to input.I think it'd be a good idea to mention this is a rather experimental use of proxy and restore. Actually I'd prefer not showing this pattern until we've thought through numerical operations.
The text was updated successfully, but these errors were encountered: