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

Disable button in UI based on input from module in Shiny app

In a Shiny app, I’m trying to disable/enable an action button in the UI of the main app based on user's input from a module. Basically, I want the “Next Page” (submit) button to be disabled until the user responds to the last item (item3). When the…
itpetersen
  • 1,475
  • 3
  • 13
  • 32
0
votes
0 answers

How can I put app code on GitHub from RStudio?

I wrote an app in golem framework with many modules and other components. I would like to send all my code to repository on GitHub. I read that I'd have to upload app's code on Gist first as to others could see it on GitHub. I have GitHub account…
mustafa00
  • 751
  • 1
  • 7
  • 28
0
votes
1 answer

Toggle treating warnings as errors when deploying a shiny app on Heroku via Docker

How do I tell either R or Docker or Heroku to not treat warnings as errors when deploying a shiny/golem app? I think last week I already found the answer - something along the lines of ENV WARNINGS_ARE_ERRORS=false in my Dockerfile - but I seem to…
Rappster
  • 12,762
  • 7
  • 71
  • 120
0
votes
1 answer

How can I have a ShinyApp calling a module, which in turn calls another module?

I have a simple ShinyApp which calls 2 modules - this works. However, I'm trying to transform it so that ShinyApp calls a module, which in turn calls a sub-module. Please see code below, I can't work out why it won't work: I'm trying to solve this…
thunt
  • 89
  • 1
  • 11
0
votes
1 answer

How to display dynamically generated PDF files inside shiny golem app

I'm generating a powerpoint presentation in R using officer, and then converting this to a PDF so a user can preview slides inside the shiny golem app. But after referencing this thread and this SO answer to a similar question I'm still not quite…
Giovanni Colitti
  • 1,982
  • 11
  • 24
0
votes
1 answer

Reactively updating sidebar in modular Shiny app

I have a modularized Golem app using bs4Dash. I want to update the active sidebar tab from an actionBttn that is dynamically generated from renderUI. While updatebs4ControlbarMenu works as expected as shown here, it does not work in the modularized…
AJMA
  • 1,134
  • 2
  • 13
  • 28
0
votes
1 answer

How to read data from Bigquery into Shiny App made with Golem

I am trying to read data from a Bigquery table into a Shiny App following Golem's framework. This can be easily done by adding the following code before the ui and server functions in an App.R file bq_auth(path = "xxxxxxxxxxxx.json") #…
csmontt
  • 614
  • 8
  • 15
0
votes
2 answers

How can I deploy my shiny app as a package?

I want to deploy my shiny application but as a package something like this: library(mylibrary) run_app() How can I do this? Thank you
coding
  • 917
  • 2
  • 12
  • 25
0
votes
0 answers

Update package data with github actions

I'm developing a shiny app with {golem} framework. Repo is here and it's deployed here. It's data is generated by this script in data-raw folder. Several objects are created, put together in a list called series and then stored in the package as a…
Alberson Miranda
  • 1,248
  • 7
  • 25
0
votes
1 answer

How do I make a golem app appear at a specific URL route

We let the golem package automatically create a Dockerfile for us and can run the docker image and see the app at the root directory: http://localhost:3838/?... But we would like the app to appear in a subdirectory like…
0
votes
1 answer

How to modularize directory selector for the golem framework?

I have been working on a shiny app that I would like to integrate to the golem framework. I used a directory selector from the shinyFiles package, but I got some problems trying to modularize it (the shiny app does not show my directories anymore).…
0
votes
1 answer

adding favicons in golem

the R documentation shows the code for adding a favicon to a shiny app developed with the golem package as: golem::use_favicon(path="inst/app/www/favicon.ico", method = "curl") My question: where do I insert this code? When running it in the…
DanWaters
  • 517
  • 5
  • 13
1 2 3 4 5 6
7