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

use roxyglobals for managing global variables caused by using data.table #66

Closed
sbfnk opened this issue Nov 28, 2023 · 1 comment
Closed

Comments

@sbfnk
Copy link
Contributor

sbfnk commented Nov 28, 2023

instead of the seemingly hardcoded

utils::globalVariables(c(".", ".N", ":=", "asym", "control_effectiveness", "cumulative", "data", "delay",

joshwlambert added a commit to joshwlambert/ringbp that referenced this issue Mar 4, 2025
joshwlambert added a commit to joshwlambert/ringbp that referenced this issue Mar 4, 2025
joshwlambert added a commit to joshwlambert/ringbp that referenced this issue Mar 4, 2025
joshwlambert added a commit to joshwlambert/ringbp that referenced this issue Mar 4, 2025
github-merge-queue bot pushed a commit that referenced this issue Mar 4, 2025
* remove utils::globalVariables, relates #66

* add roxyglobals to DESCRIPTION, relates #66

* add @autoglobal to functions using data.table, fixes #66

* add R/globals.R, relates #66

* use list() instead of .() in data.table due to roxyglobals missing global .()
@joshwlambert
Copy link
Collaborator

Addressed in PR #81.

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

No branches or pull requests

2 participants