-
Notifications
You must be signed in to change notification settings - Fork 79
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
Using shinyauthr with shiny rmarkdown documents #66
Comments
Perhaps as a short note on the above, the "myshinyrmarkdown.Rmd" document is an interactive Tutorial like the below:
Topic 1ExerciseHere's a simple exercise with an empty code chunk provided for entering the answer. Write the R code required to add two plus two:
Exercise with CodeHere's an exercise with some prepopulated code as well as Now write a function that adds any two numbers and then call it:
Topic 2Exercise with HintHere's an exercise where the chunk is pre-evaulated via the Modify the following code to limit the number of rows printed to 5:
QuizYou can include any number of single or multiple choice questions as a quiz. Use the Some questions to verify that you understand the purposes of various base and recommended R packages:
|
Consider deploying myshinyrmarkdown.Rmd to Shiny Server and then introducing it. Like this: output$sidebarpanel <- renderUI({
req(credentials()$user_auth)
div(tags$iframe(src = "https://xxx.xxxx/myshinyrmarkdown/"))
}) |
Paul, Thanks for a very useful package.
I wonder whether the shinyauthr package also can be used with a shiny-rmarkdown document?
Up to now, I tried to call the shiny-rmd App (myshinyrmarkdown.Rmd) within the app.R below, but I receive an error that we cannot call run_App() within run_App() - is there an 'easy' way to achieve this?
Thanks in advance for a short clarification.
The text was updated successfully, but these errors were encountered: