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

Safer DataFrame(SEXP) ctor #301

Merged
merged 2 commits into from
May 27, 2015
Merged

Safer DataFrame(SEXP) ctor #301

merged 2 commits into from
May 27, 2015

Conversation

romainfrancois
Copy link
Contributor

The motivations are clearly explained in tidyverse/dplyr#998 reported by @spkal

There was a risk of garbage collection triggered by the default constructor of Vector, called implicitly by the DataFrame(SEXP) constructor before the SEXP gets a chance of being protected.

This trivial change should fix it.

@eddelbuettel
Copy link
Member

Looks good, thank you.

No timeline for next release but we've been at a two month rhythm of late so possibly July once all the conferencing is over.

eddelbuettel added a commit that referenced this pull request May 27, 2015
@eddelbuettel eddelbuettel merged commit 0a43747 into RcppCore:master May 27, 2015
@romainfrancois
Copy link
Contributor Author

Sure. No trouble, i have a workaround in place for dplyr.

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

Successfully merging this pull request may close these issues.

None yet

2 participants