Skip to content

Conversation

@ben-schwen
Copy link
Member

@ben-schwen ben-schwen commented Nov 30, 2022

Closes #5547
Closes #5543
Closes #5541

  • Adds raw support for shift to parallel the same support in gshift
  • Improves choice on whether turning GForce on/off
  • Changes evaluation of variables in GForce calls to only variables not present in data.table
  • fix
  • NEWS
  • tests

@jangorecki

This comment was marked as outdated.

@jangorecki jangorecki added this to the 1.15.0 milestone Nov 6, 2023
@jangorecki jangorecki added the WIP label Nov 6, 2023
@MichaelChirico
Copy link
Member

I'm confused about adding raw support in this PR, is there a reason to do that here instead of as a separate PR?

@ben-schwen
Copy link
Member Author

I'm confused about adding raw support in this PR, is there a reason to do that here instead of as a separate PR?

Good point. I initially thought that adding raw support for shift would be necessary to fix since gshift supports raw (so gshift and shift stay consistent). Escaping gforce in this case and deactivating gshift support for raw might be the better route.

@MichaelChirico
Copy link
Member

I'm confused about adding raw support in this PR, is there a reason to do that here instead of as a separate PR?

Good point. I initially thought that adding raw support for shift would be necessary to fix since gshift supports raw (so gshift and shift stay consistent). Escaping gforce in this case and deactivating gshift support for raw might be the better route.

Oh, I see. I edited the PR description with my understanding. It's fine to keep the change in this PR IIUC.

@ben-schwen ben-schwen changed the title gforce cannot eval variables used in [ gshift cannot eval variables used in [ Dec 25, 2023
@MichaelChirico
Copy link
Member

Fixed the trivial bits. Pending things are:

  • Can we simplify is_constantish() as suggested?
  • Updating the NEWS to reflect the current state of the PR

@ben-schwen
Copy link
Member Author

Done. I hope the new NEWS item reflects the changes enough.

@MichaelChirico
Copy link
Member

Great work!

@MichaelChirico MichaelChirico merged commit e665d2a into master Jan 5, 2024
@MichaelChirico MichaelChirico deleted the gshift_escape branch January 5, 2024 12:01
@ben-schwen ben-schwen mentioned this pull request Jan 7, 2024
2 tasks
@iagogv3
Copy link
Contributor

iagogv3 commented Jan 10, 2024

Remarking just that if this PR closes #5547, taking into account #5680 (comment)

Ok this is the same as #5547

then it also closes #5680 (which is currently open)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants