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

Deploying learn R shiny app quiz in Rstudio Cloud #728

Open
bbitarello opened this issue Aug 30, 2022 · 2 comments
Open

Deploying learn R shiny app quiz in Rstudio Cloud #728

bbitarello opened this issue Aug 30, 2022 · 2 comments

Comments

@bbitarello
Copy link

bbitarello commented Aug 30, 2022

Hi everyone, I am using learn R for teaching. My code can be run in Rstudio Cloud and opens a shiny app, but then the file that students are running (the script) also contains the answer. Is there a way to run this in Rstudio Cloud (paid membership) in such a way that students cannot simply open the file and see the answers? Thank you

@gadenbuie
Copy link
Member

gadenbuie commented Aug 30, 2022

In short: No, there isn't a way to do this exactly on RStudio Cloud. That said, if you include your tutorial in an R package that you install into the student's RStudio Cloud project, the tutorial will show up in the Tutorials pane in RStudio. Technically students would still be able to find the source file, but it's much harder and they'd have to know where and how to look at it.

A screenshot of the Tutorials pane in RStudio where the learnr package has been installed. Four tutorials are shown, with each having their title, a description and a "Start Tutorial" button.

On the other hand, you can also deploy your tutorial to https://shinyapps.io where students will be able to access the tutorial but not see the source. See Publishing on shinyapps.io for more details

@bbitarello
Copy link
Author

Thank you. Follow up question. If I do deploy it elsewhere is there a way to check identity? I want to use this as a graded for completion assignment, so I need to know who completed it. Thank you!

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

2 participants