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

7.6 Environments - Managing state within a package (Examples, Limitations, and Best Practices) #1750

Open
christian-million opened this issue Dec 21, 2022 · 0 comments

Comments

@christian-million
Copy link

In Section 7.6 (Environments - As data structures), the bullet about "Managing state within a package" seems especially useful, and leaves me wanting more details about this approach.

I have found a few examples of this in the wild:

While a reference to those examples (or others) may be useful to readers, by showcasing use cases, this issue was created because I am interested to learn more about this approach in general:

  • What are the limitations of using this approach to manage package states?

  • Would this work in a package intended to be used in a Shiny App, or other uses that may load libraries in a new R session?

  • What are some prevailing best practices around this approach?

I am uncertain where the best place to answer these questions is (other options: R Packages, Posit Community), but thought I'd mention it here since there is a dedicated bullet in the book.

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

1 participant