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
0 answers

Shiny app: Plots not appearing in tabbed modalDialog popup with plotlyOutput inside module

Problem: render_() doesn't work inside modalDialog I am working on a Shiny app that uses modules to create a modal with two tabs, each containing a plot generated with Plotly. However, when I run the app and open the modal, I don't see the…
JJ Fantini
  • 213
  • 1
  • 11
0
votes
0 answers

How do I output a module into the main panel of a shiny app, when selecting that module from an input in the sidebar panel?

I'm very new to shiny and programming in general. I'm using the Golem package and trying to set up my UI. I've created a module called 'display'. This module has been loaded into the sidebarPanel. Here is the code for the module. display_ui <-…
Damal89
  • 1
  • 1
0
votes
1 answer

Modify the title of the shiny application in golem in the tab of the web browser

I am developing a shiny application using golem as framework. I noticed that when I run the application, the browser page tab shows the name of the package defined in '01_start.R' (e.g. pkg_name = "golem.test"). I have tried to include this code in…
Wardiam
  • 127
  • 7
0
votes
1 answer

Why I do not get my data under the Load Data Panel?

I am having two tabs in the navigation bar (I am trying to keep it simple, I have more, but won't matter). Now, I get my info tab the way I want it. But when I upload the module for load data, I cannot get it under 'Load Data' tab but rather under…
GaB
  • 1,076
  • 2
  • 16
  • 29
0
votes
0 answers

How to deal with dependencies with golem

I'm kind of new to the shiny application as a package (using golem) so my struggle is maybe a silly one.. I've just done a test to using the provided template with golem to see if I could generate and install the package. It seems that I cannot do…
0
votes
1 answer

Run `testServer()` w/ `golem::get_golem_options()`

I have set up a R Shiny app using the golem R-package. In the app_server() I use some globally set golem options as follows: app_server <- function(input, output, session) { myServer( id = "test", global_variable =…
moremo
  • 315
  • 2
  • 11
0
votes
1 answer

Unable to install_local() with R Shiny Golem app

I am creating a Shiny app using the golem framework. I am at the last part where I am testing to see whether the app can be installed like a package by running remotes::install_local(). However, I am running into the following…
Dieu94
  • 371
  • 1
  • 11
0
votes
1 answer

Namespace file not updating in Golem shiny app

I am building my first Golem shiny app. I am currently using usethis::use_package("shinydashboard") and then attachment::att_amend_desc() to update the Description and Namespace file. However, I'm running into this message in the console: Writing…
Dieu94
  • 371
  • 1
  • 11
0
votes
0 answers

Passing and updating data between modules in R shiny

I have an R shiny app using golem to generate a report on NGS data. I currently have a working app that reads in data (some excel files and a pdf) and shows the graphs and tables relating to that input. I would like to have the app start with a drop…
shaberman
  • 1
  • 1
0
votes
0 answers

Why do I not get my shiny app with fonts I want, with golem

Cannot use the fonts with golem nor the FEATURE unit with the choice of libraries and their description I want to reproduce the app in the link bellow, but only with golem. I have tried to change: some paths - I have deleted fonts folder the…
GaB
  • 1,076
  • 2
  • 16
  • 29
0
votes
1 answer

How to understand and solve these warning within golem shiny package creation

This is not the best question of mine, but I do not know how to ask. Moreover I can't provide a working example. I try to create a package of my R shiny app within the golem framework. And I already achieved to create a package and it worked very…
TarJae
  • 72,363
  • 6
  • 19
  • 66
0
votes
1 answer

bs4Dash using moduleServer()

I have an issue with using modules with bs4Dash. I have created a ShinyApp with modules using golem which I created from my previous ShinyApp. I have no issue in using input$dark_mode == TRUE or if (input$dark_mode) if it is a single app, for…
0
votes
1 answer

Is there a way to use configurations (e.g. golem configure) to define tabsets in shiny on load?

I have multiple versions of the same app, which I am currently managing via different git branches, but it is becoming more difficult to mass-apply commits across branches. I would like to bring it all back to one branch, and maintain a simple golem…
colej1390
  • 157
  • 4
  • 11
0
votes
0 answers

source(file.path("server", "tab1.R"), local = TRUE)$value via Golem-Shiny

I have my shiny app already developed and is in the form where the ui and server functions are split into many separate files like this: current Shiny R files My question when I am trying to port my app into golem where do I source those server…
Dave
  • 33
  • 3
0
votes
0 answers

Shiny CRUD not working in golem module (but working in simple shiny app)

I have adapted some CRUD code which works perfectly in a classical shiny app. I decided to include it in a golem module. But in golem the edit and delete buttons don't launch the modal window. I checked if I missed some ns(), but I don't think so. I…
TT95F
  • 1
  • 2