unhcr / koboloadeR

deprecated please use {kobocruncher} - https://edouard-legoupil.github.io/kobocruncher/
https://unhcr.github.io/koboloadeR/docs/
28 stars 28 forks source link

koboloader shiny app dependencies not loaded automatically #51

Open gerhardriener opened 4 years ago

gerhardriener commented 4 years ago

Please briefly describe your context, your problem and what output you expect.

Please include if possible a minimal reproducible example (AKA a reprex). If you've never heard of a reprex before, start by reading https://www.tidyverse.org/help/#reprex.


Context

Want to start the shiny app from Rstudio (opensSuse tumbleweed, Rstudio Version 1.2.5033 R version 3.6.3 (2020-02-29)

Problem

follow the instruction to create a new kobo project unsing https://unhcr.github.io/koboloadeR/ Project walkthrough

Expected result

the koboloadeR shiny app opens

Current result

Error message that several shiny functions not found. Does not open the app.

#  reprex
library (koboloadeR)
kobo_projectinit() 
kobo_shiny("app_main_koboloadeR.R")

Possible Fix

library(shinydashboard)
library(shinyalert)
library(rhandsontable)