Questions tagged [golem]

{golem} is an R framework for building robust application with Shiny. You can use the [golem] tag for questions about building or deploying Shiny application using {golem}. Question can either concern general concepts or specific functions from inside the package. You can also use this tag if you need more information about moving from a "standard" Shiny app structure to a {golem}-based application.

Here are a list of resources you can visit before asking your questions:

Documentation

Workflow

The general workflow is described at https://thinkr-open.github.io/golem/articles/

Functions reference

Find function documentation at https://thinkr-open.github.io/golem/reference/index.html

Moving from classical application

See the golemize repo for examples of moving classical apps to {golem}.

The book

A lot of resources about {golem} and about building apps with R can be found in the online book: https://thinkr-open.github.io/building-shiny-apps-workflow/

103 questions
0
votes
1 answer

Golem modules doesn't work in server side

I have been working in a Shiny app and now I'm trying to put it in modules with Golem. My app_ui.R: #' The application User-Interface #' #' @param request Internal parameter for `{shiny}`. #' DO NOT REMOVE. #' @import shiny #' @noRd app_ui <-…
RxT
  • 486
  • 7
  • 17
0
votes
0 answers

updateTabItems in shinydashboard with Shiny modules and golem

I have experience with Shiny programming, but am new to Shiny modules and am having trouble getting updateTabItems in shinydashboard to work properly. I'm pretty sure I understand the concept of modules generally, but must be missing something…
code_cowboy
  • 596
  • 5
  • 18
0
votes
0 answers

Do I need to use Inner-session async with a Shiny `brochureApp`?

I have created a shiny app on the backbone of {golem} + {brochure}, both fantastic packages by @ColinFay. When using single R sessions as suggested in Chapter 16, it is better to use inner-session asynchronous code, so that users aren't blocked…
JJ Fantini
  • 213
  • 1
  • 11
0
votes
1 answer

Unable to load 'digest' package on a shiny server during application initialisation

I have a shiny application that I try to deploy on a shiny server. I am using the package golem. I get this error in my browser : An error has occurred The application failed to start. The application exited during initialization. I get this…
sbenateau
  • 67
  • 10
0
votes
0 answers

Error: You're passing a function as global data. Have you misspelled the `data` argument in `ggplot()`

I'm trying to build a shiny app with the golem package. I'm stuck with this error for a week and couldnot find solutions. Please help me if anyone knows how to resolve the problem. So, the goal of this app is very simple: there are selection boxes X…
Ann
  • 1
  • 3
0
votes
1 answer

using Google Analytics under golem package for shiny App

I would like to use track my R Shiny app using google analytics. I followed this article https://shiny.rstudio.com/articles/google-analytics.html. i got i should create a html with ui.R. For golem package , is it right to put the html file into the…
Hees
  • 111
  • 1
  • 9
0
votes
1 answer

How to use 'shinytest' with 'golem'?

I'm new to 'golem'. So far I did my Shiny apps as packages, with the app in the folder inst/app, and then to use 'shinytest' I made a folder inst/app/shinytest. How to do with 'golem'? There's no app folder: inst/app only contains www, and the UI…
Stéphane Laurent
  • 75,186
  • 15
  • 119
  • 225
0
votes
1 answer

Why I do not get my boxes as equal sizes in shiny app?

I am trying to understand why I do not get the boxes equal in my app? This is the code: shinyUI( navbarPage( windowTitle = "Page", title = div(img(src = "bare.png", height = "30px"), "Oncology Toolbox"), theme =…
GaB
  • 1,076
  • 2
  • 16
  • 29
0
votes
2 answers

Why do I get: cannot open file 'Documentation/workflow_accordion.html': No such file or directory

I am trying to add the shiny app into golem structure. Therefore, everything that I am asking here should be in line with golem structure. Here is the problem: I cannot add my html into a module. And that is why I get the following error: cannot…
GaB
  • 1,076
  • 2
  • 16
  • 29
0
votes
1 answer

Shiny server function finds module when using fixed IDs but not when using ns()

I have a shiny app, each module is it's own file. Each module get's an ns <- NS(id). When I adress an Element, say a button from one of those modules with observeEvent it works if I just hardcode an ID in the module, but not if I use ns(). What am I…
PanikLIji
  • 31
  • 4
0
votes
0 answers

Debugging and error handling in R Shiny with Golem

I wrote a shiny web app and this app get a table from the database with an ID, but when I importing a ID does not exist in the data, it gives an error. I fixed this error with the tryCatch function. But this function does not work in Golem…
rezious
  • 3
  • 2
0
votes
1 answer

Showing strength of dependency in DAG (causal inference)

I'm using DAG for causal inference, the code is written in python. But when I obtain data by implementing GOLEM or IACLiNGAM I wish also to see the strength of the dependency on the graph. Is it possible to somehow evaluate or show that? Or maybe…
Egorsky
  • 179
  • 1
  • 11
0
votes
1 answer

Problems trying to add logo's within golem shiny app

I have an issue with adding logo's with the golem arhitecture. This is a bit more complex than I thought. I am trying to refactor a code for an app deploying golem. so the original code (I won't add the full code since it is huge) looks like…
GaB
  • 1,076
  • 2
  • 16
  • 29
0
votes
1 answer

Error: argument "body" is missing, with no default

I am dealing with an issue for several hours, please do not punish me on points. tried pretty much everything was suggested on stack overflow. I use golem library to build up the app, thus please be aware of this aspect. Also, if you want to look on…
GaB
  • 1,076
  • 2
  • 16
  • 29
0
votes
1 answer

How to build a Shinymanager and Brochure app with Golem

I don't really have a repository to share as I am falling at the first hurdle sadly. I was wondering how to build an golem app that is both a Brochure and shinymanager one as I am hoping to create a login page for my app that leads to a menu page…