-
Notifications
You must be signed in to change notification settings - Fork 17
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
hesim shiny app example #98
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #98 +/- ##
==========================================
- Coverage 93.15% 92.70% -0.45%
==========================================
Files 64 65 +1
Lines 5665 5690 +25
==========================================
- Hits 5277 5275 -2
- Misses 388 415 +27
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Hi @rhart1, thanks for the PR. To start, can you fix the two warnings identified by the R CMD check and the note:
|
Hi, I made a few changes but I think there was one left. Could you please re-run the workflow? |
I have added the changes to make it work with devtools::check() on my machine. Please re-run the workflow to check this is replicated here |
Hi Devin and Jeroen,
I have added my shiny app example to the repo, where users can run it via app.R. I have also added a function to the R folder in case you want to add a call to it as a function within hesim. There are a fair number of package dependencies so I'm not sure if this would be ideal, but thought to add it anyway. I didn't use any build functions, I have just imported the scripts for you to review.
The large number of packages are mainly for displaying the outputs (survminer for displaying onc3 data nicely, DT for datatables, rmarkdown etc), as in the short course I wanted to encourage attendees to focus as much on their outputs as on their functionality to aid in transparency, and I wanted to provide a few examples of this. If there are some that you feel are unnecessary or could be simplified further for this then let me know. I had also included an example of generating reports using rmd from both the script version and the app version (using the same rmd to demonstrate), which may or may not be something you'd want to include. Let me know if you have any questions or if there are amendments you think would be particularly useful.
Many thanks
Rose