Closed TomKellyGenetics closed 3 years ago
As a note on the Shiny App. The locale issue discussed in #61 seems to be resolved now. The Shiny App launches in various locale settings and I cannot reproduce the error (possibly caused by dependencies).
> Sys.setenv(LANG = "fr")
> 2 = x
Error in 2 = x : membre gauche de l'assignation (do_set) incorrect
> presize::launch_presize_app()
Listening on http://127.0.0.1:6747
> Sys.setenv(LANG = "ja")
> 2 + x
エラー: オブジェクト 'x' がありません
> presize::launch_presize_app()
Listening on http://127.0.0.1:6747
> Sys.setenv(LANG = "")
> presize::launch_presize_app()
Listening on http://127.0.0.1:6747
> Sys.setenv(LANG = "en")
> 2 + x
Error: object 'x' not found
> presize::launch_presize_app()
Listening on http://127.0.0.1:6747
> Sys.setenv(LANG = "UTF8")
> 2+ x
Error: object 'x' not found
> presize::launch_presize_app()
Listening on http://127.0.0.1:6747
thanks for reporting this @TomKellyGenetics, I'll make the fix... should be easy enough i think...
I've tested installing from GItHub and verified that the Shiny App now works as expected. 👍
Describe the bug Shiny app () returns error as shown:
ntot' required when 'prev' is specified
To Reproduce See screenshots. Hosted locally with:
Development version installed with
remotes::install_github("aghaynes/presize")
. Commit: https://github.com/aghaynes/presize/commit/a917c32fc886dfd2f8eee9f7c6743f2803134cf8Expected behavior Prevalence input is required by ShinyApp. It is possible to use a button to disable it. Slider could be removed from UI with conditional input.
Estimating sample size from
conf.width
without specifyingn
is not currently supported in Shiny App. Cannot specifyntot
from Shiny App.Screenshots
Desktop (please complete the following information):