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

Consider setting R_CONFIG_ACTIVE environment variable to "shinylive" #90

Open
gadenbuie opened this issue Jan 10, 2024 · 0 comments
Open

Comments

@gadenbuie
Copy link
Contributor

In posit-dev/r-shinylive#45 we briefly discussed adding environment variables to signal that an app is running on shinylive.

In that issue I mentioned considering setting R_CONFIG_ACTIVE, which is used by the config R package and is often used by Shiny apps to choose setting based on context.

Regarding environment variables, another interesting option to consider is setting R_CONFIG_ACTIVE to something like "shinylive" in a shinylive context. This env var is consulted by the config package and is set by Posit Connect.

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