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

Add a warning when an indexed DFI column is modified ? #5

Closed
digEmAll opened this issue Nov 10, 2016 · 2 comments
Closed

Add a warning when an indexed DFI column is modified ? #5

digEmAll opened this issue Nov 10, 2016 · 2 comments
Labels

Comments

@digEmAll
Copy link
Owner

digEmAll commented Nov 10, 2016

Should we add a warning when an indexed DFI column is modified ?
This means overriding all the data.frame and matrix replacement operators...

[<-.data.frame
$<-.data.frame
[[<-.data.frame
and the one used by matrix objects

@digEmAll
Copy link
Owner Author

digEmAll commented Dec 10, 2016

Overriding all the replacement operators for data.frame and matrix is tricky and it will make replacements operations for non-indexed columns slower...
Th DFI objects are supposed to be used as "read-only repository" of indexes, so, in order to avoid the risk to use a DFI object with invalid indexes without warning, we're going to introduce a breaking change and make DFI objects not-inheriting from data.frame or matrix anymore.

Changing this issue label into BUG

@digEmAll
Copy link
Owner Author

Fixed in v0.0.47 ea9932c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant