-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
runDemo #212
Comments
I don't know whether it works like this now, but it would be great if you could cut n paste from a gist URL or GitHub URL into the first argument of such things. -Alex Brown On Aug 14, 2013, at 6:08 PM, hadley wickham [email protected] wrote:
|
Found this just before posting a similar issue. I think it would be nice to add a shiny::runApp(system.file("shiny-examples", "basic", package="radarchart")) into shiny::runExample("basic", package="radarchart") Happy to submit a PR if there's interest. The main thing is to agree on a standard directory to keep shiny examples. Here I've used For me the name isn't important, but having this function as part of shiny would be a great way to encourage consistency. |
already added a pull request for this before looking into the issues. |
Closing because dupe of #1458 |
It would be useful if shiny had a
runDemo
function like this:then you could easily run demos in installed packages:
That might almost be a better way to implement
runExample()
:although then you'd have to move the existing examples into the demo directory - this would be a good idea because it's fits the R package conventions a little better, and reduces the confusion between
runExample()
andexample()
The text was updated successfully, but these errors were encountered: