stan-dev / shinystan

shinystan R package and ShinyStan GUI
https://mc-stan.org/shinystan
GNU General Public License v3.0
197 stars 51 forks source link

deploy_shinystan generates shiny code for private server deployment #161

Closed FBartos closed 4 years ago

FBartos commented 6 years ago

Added argument to deploy_shinystan function which makes it generate shiny code, which can be uploaded to a private server and run there. Also updated the vignette for deployment, with description how to upload the shinystan application to a private server.

note1: It's my first pull request ever. note2: I was having a trouble with "ppcheck_yrep" argument when specified, the posterior predictive checks don't seem to work. However, this should be unrelated to my changes.

codecov-io commented 6 years ago

Codecov Report

Merging #161 into master will decrease coverage by 4.53%. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #161      +/-   ##
==========================================
- Coverage   97.09%   92.56%   -4.54%     
==========================================
  Files          10       10              
  Lines         896      847      -49     
==========================================
- Hits          870      784      -86     
- Misses         26       63      +37
Impacted Files Coverage Δ
R/deploy_shinystan.R 90.42% <0%> (-3.26%) :arrow_down:
R/misc.R 77.27% <0%> (-22.73%) :arrow_down:
R/rhat_ess_monitor_fns.R 94.28% <0%> (-5.72%) :arrow_down:
R/shinystan-objects.R 93.36% <0%> (-5.49%) :arrow_down:
R/update_sso.R 93.75% <0%> (-3.62%) :arrow_down:
R/launch_shinystan.R 35% <0%> (-3.1%) :arrow_down:
R/generate_quantity.R 97.29% <0%> (-2.71%) :arrow_down:
R/retrieve.R 97.33% <0%> (-1.37%) :arrow_down:
R/sso-metadata.R 100% <0%> (ø) :arrow_up:
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0cc9705...0f0b8be. Read the comment docs.