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
7
votes
2 answers

How to include R6 objects to share data across modules in golem Shiny app

I’m trying to create a Shiny app using golem for the first time. golem structures Shiny apps with modules to help keep large Shiny apps modularized. However, modules don’t communicate with each other by default. I’d like to share data across…
itpetersen
  • 1,475
  • 3
  • 13
  • 32
6
votes
1 answer

How to test modules within a golem framework shiny package?

I am trying to develop unit tests for my shiny app, which was made using golem framework and shiny v1.5.0. Golem comes with a recommended test file, which covers very basic UI testing. I am, however, way more concerned with testing the server-side,…
eduardokapp
  • 1,612
  • 1
  • 6
  • 28
6
votes
3 answers

How to run R Shiny App in Docker Container

I built a Docker Image for an R Shiny App and ran the corresponding container with Docker Toolbox on Windows 10 Home. When trying to open the App with my web browser, only the index is shown. I don't know why the app isn't executed. The log shows me…
Heysa12
  • 71
  • 1
  • 4
5
votes
0 answers

Looking for help launching a dockerized shiny app built with the golem framework on an AWS EC2 instance

Does anyone have resources or prior examples for launching a shiny dockerized app built with the golem framework on an AWS EC2 instance? Mainly, I could use some assistance configuring the Dockerfile, shiny-server.conf, and shiny-server.sh…
bikingman
  • 161
  • 1
  • 5
4
votes
1 answer

When using "rintrojs" package in shiny app with modules (golem), dialog box from step-by-step introduction appears top left corner

I'm trying to create a introduction with pop-up text boxes using "rintrojs" package. The thing is that I am using modules with golem in my app, so there is one module per each tab. The problem i'm getting is that when running the app and clicking…
4
votes
1 answer

Shiny Dashboard with Modules reactiveness

Hi I am bit stuck on a Shiny dashboard where I tried to strip out some functionality into ui (and server) modules and sub-modules. What I want to achieve is this library(shiny) runApp(list( ui = basicPage( selectInput("select", "Select columns…
GWD
  • 1,387
  • 10
  • 22
4
votes
1 answer

Interfacing Shinymanager and Golem

I would like to know if there is any documentation about interfacing golem structure and shinymanager which is a package I use frequently to secure my app. The shinymanager workflow proposed on their github works well with a Ui.R / Server.R…
Sofiane M'barki
  • 193
  • 1
  • 1
  • 11
4
votes
1 answer

Can I include multiple UI elements in a single shinydashboard module?

In shinydashboard there is the amazing convenience of putting widgets into the menuItem(menuSubItems()) portion of the dashboardSidebar(). But I want the several elements of my UI and Server coded into modules so I can adhere to the golem…
quickreaction
  • 675
  • 5
  • 17
3
votes
1 answer

Where to store background picture in a shiny app using golem framework

I have this working example app. Here I set 12092021.png as background picture. 12092021.png lives in the www folder in the root directory -> Everything is perfect. library(shiny) ui <- fluidPage( #background image tags$img( src =…
TarJae
  • 72,363
  • 6
  • 19
  • 66
3
votes
0 answers

Usage of Modules and stratégie du petit r with navbarPage

I try to understand the usage of modules and stratégie du petit r. I would like to receive feedback if I used the components correctly? Also I'm interested: Does it make sense to structure an application in the way that each tabPanel is 1 Module?…
Leo
  • 51
  • 4
3
votes
0 answers

How to include file in shiny package?

I'm making a shiny app with golem, which automatically makes it a package and for some background calculations that happen before the user does anything I'm loading in an excel file (just with xlsx's read_xlsx function). This works great on my local…
PanikLIji
  • 31
  • 4
3
votes
1 answer

How read external data from different server with golem shiny app?

I am trying to add the txt file that contains let's say 50 proj, with paths outside of the package. I am attempting to use these files to get a shinyapp using golem framework. My problem is, as much as I read on golem shiny apps, I do not understand…
GaB
  • 1,076
  • 2
  • 16
  • 29
3
votes
1 answer

How do I ensure local installation of my `{golem} `+ `{brochure}` Shiny App in a Dockerfile?

Question: Where/How do I download my own package that is built with devtools::build() into the Linux docker filesystem. tidyjson is failing to install because it needs rlang 1.0.2 and I have rlang 1.0.1 --> which was determined from…
JJ Fantini
  • 213
  • 1
  • 11
3
votes
2 answers

RShiny deployment with Docker - Execution halted due to application package not being found?

I'm relatively new to RShiny, Golem and Docker. However, I've built a little analytics dashboard with the Golem framework that I'd like to deploy locally using Docker. I have been able to successfully build an image, but can't seem to get the…
Jaimee-lee Lincoln
  • 365
  • 1
  • 3
  • 11
3
votes
2 answers

Testing modular R Shiny (golem) dashboards

I've been exploring (**and loving) the golem package for developing modular dashboards with R Shiny. But I'm struggling to wrap my head around how to test a modular dashboard. For example in the repex below how would I test that if the input$n_rows…
David
  • 99
  • 4
1
2 3 4 5 6 7