Skip to content

Conversation

@MichaelChirico
Copy link
Member

Closes #5286. Restoration of #5556.

@OfekShilon you are a project member so you should be able to push edits directly to this branch.

@MichaelChirico
Copy link
Member Author

MichaelChirico commented Sep 4, 2024

Please add a NEWS entry.

I am wondering if setselfref() itself should just be a no-op on non-data.table. setselfref() is also used in subset:

setselfref(ans);

Is it possible to wind up running that on a data.frame?

Last, I see we still SETLENGTH/SETTRUELENGTH for the data.frame input -- might that be problematic?

@github-actions
Copy link

github-actions bot commented Sep 4, 2024

Comparison Plot

Generated via commit 4da8e65

Download link for the artifact containing the test results: ↓ atime-results.zip

Time taken to finish the standard R installation steps: 11 minutes and 26 seconds

Time taken to run atime::atime_pkg on the tests: 7 minutes and 29 seconds

@OfekShilon
Copy link
Contributor

Added a NEWS item. Agreed that making setselfref a no-op for data frames is safer - fixed.

@OfekShilon
Copy link
Contributor

OfekShilon commented Sep 5, 2024

Not sure why a conflict resolution was needed (didn't actually 'resolve' anything manually). Anyway should be good to go now.

@MichaelChirico
Copy link
Member Author

(Text-only approval since I'm technically the PR author here)

Thanks!

@MichaelChirico
Copy link
Member Author

Sorry it took so long to review such a tiny change 🙏

@MichaelChirico MichaelChirico merged commit ccd5c1c into master Sep 5, 2024
@MichaelChirico MichaelChirico deleted the fix5286 branch September 5, 2024 16:55
@OfekShilon
Copy link
Contributor

Sorry it took so long to review such a tiny change 🙏

Thanks for merging, that was very fast.

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.

shallow adds .internal.selfref to an input data.frame

2 participants