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

Should the rstudioapi package be a dependency of the shinyuieditor package and installed at the same time? #249

Open
scubastevew opened this issue Nov 21, 2023 · 0 comments

Comments

@scubastevew
Copy link

scubastevew commented Nov 21, 2023

Was testing the shinyuieditor on posit.cloud and when I went to launch the app, I get:

> launch_editor(app_loc = "loc/of/app")
Error in check_for_url_issues() : 
  In order to use shinyuieditor on a hosted version of RStudio you will need to install the rstudioapi package.
Run install.packages("rstudioapi") to install it.

After installing the rstudioapi package, I was able to launch the application successfully.

I believe that @jilliancahill ran into something similar but I think they were using RStudio Desktop.

The question is, should the rstudioapi package be a dependency that gets installed when installing the shinyuieditor?

Steps to reproduce:

  1. install.packages("remotes")
  2. remotes::install_github("rstudio/shinyuieditor"
  3. require(shinyuieditor)
  4. launch_editor(app_loc = "loc/of/app")

Actual Results:
This message is displayed:

> launch_editor(app_loc = "loc/of/app")
Error in check_for_url_issues() : 
  In order to use shinyuieditor on a hosted version of RStudio you will need to install the rstudioapi package.
Run install.packages("rstudioapi") to install it.
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