have encountered a few issues with the generate_shiny() function.
The first is that the create_about() subfunction does not seem to like generating a package list. Initially I was getting the error:
I was able to get around this by adding list_pakages = F to the call from within generate_shiny(). So no big issue there but something I thought you might want to be aware off.
The second and more significant issue I am running into now is that when I try generate_shiny() I get the error:
Error in purrr::map_chr():
ℹ In index: 2.
Caused by error:
! Result must be length 1, not 0.
Backtrace:
metaUI::generate_shiny(...)
metaUI:::generate_ui(dataset, dataset_name, about, filter_popups)
at C:\Users\284322k\AppData\Local\Temp\RtmpQd7O7P\rstudio-scratch-2da07b0c2173.R:30:2
The second error is likely due to filter columns that are not numeric and not factors (typically characters) - need check in prepare_data and possibly again in generate to throw informative error
Reported by email:
have encountered a few issues with the generate_shiny() function.
The first is that the create_about() subfunction does not seem to like generating a package list. Initially I was getting the error:![image](https://github.com/LukasWallrich/metaUI/assets/60155545/1e6182d1-fb82-4b87-9738-95faec895952)
I was able to get around this by adding list_pakages = F to the call from within generate_shiny(). So no big issue there but something I thought you might want to be aware off.
The second and more significant issue I am running into now is that when I try generate_shiny() I get the error:
Error in
purrr::map_chr()
: ℹ In index: 2. Caused by error: ! Result must be length 1, not 0. Backtrace:I’ve got the error on two computers now, one which had a fresh installation of R and Rstudio – so packages etc should be up to date.