-
Notifications
You must be signed in to change notification settings - Fork 978
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor GForce helpers outside of [ (#5954)
This is mainly to facilitate debugging, and also keep the dependencies of each function clearer (rather than implicitly inheriting from the [.data.table environment). This feeds in to #5953. Not a _pure_ copy-paste, note the following minor changes: - Use argument name `q` consistently. Particularly important for `.gforce_jsub` where argument `x` is confusing next to argument `names_x` which has nothing to do with `x` in this environment, but the parent environment. - Consistently evaluate inside `SDenv$.SDall`, from which we also pull names (at HEAD, we evaluate inside `x` while pulling names from `.SDenv$.SDall`) - Rename `gforce_jsub` -> `.gforce_jsub` for consistency with `.gforce_ok` - Rename `dotN` to `is.N` to convey its boolean nature
- Loading branch information
1 parent
7057795
commit 82f559f
Showing
1 changed file
with
83 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters