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
1
vote
1 answer

Why likelihood decreasing for GOLEM algorithm

I was applying the GOLEM algorithm for casual inference using python but for some reason over iterations, my likelihood score is decreasing. Why does this happen? I have a pretty large dataset with 310127104 rows. I can't perform that because this…
Egorsky
  • 179
  • 1
  • 11
1
vote
0 answers

Golem: object 'input' not found, or function not recognised

I have a module initiated with golem::add_module(name = "my_module", with_test = TRUE). I have also created a function file with golem::add_fct("my_module", with_test = TRUE). My module is a bit lengthy, but to resume: I have some radioButtons at…
Adrarc
  • 131
  • 6
1
vote
1 answer

Creating a Shiny input module that returns multiple outputs with a "submit" button

I would like to build an app that has an "input module" that will prepare the data according to user input. A simple example would have the user input the minimum and maximum MPG to keep in the mtcars. In this case, the "input module" would return…
Zoltan
  • 760
  • 4
  • 15
1
vote
1 answer

Is it possible to make an observeEvent for the start date and end date separately for dateRangeInput?

I've been working with R Shiny, and I'm having a bit of a problem. I want to create a user flow for the date range input where: if the user inputs a start date after the end date, the end date automatically follows and mimics the start date. if…
1
vote
1 answer

Usize breaking zksync when compiling for ARM

This is a complex and hard issue, but I will break it down to the best of my abilities. It comes down to when I am compiling a rust project for ARM64 (goal is to run on rasp pi 4). A large majority of the libraries compile (704 / 740) but it breaks…
Frustrated
  • 111
  • 1
  • 6
1
vote
1 answer

Deploying shiny app made with golem to shinyapps.io gives Error

I am trying to deploy shiny app made with golem to the shinyapps.io . It was working well few days back but now when I am trying to deploy gives following error. I tried deploying simple new golem shiny app that also gave the same error. What is…
1
vote
1 answer

How can I get a golem app to generate logs when dockerized?

We have a dockerized golem app that runs fine except for not creating any output (log statements) when deployed in a docker container. In fact, we aren't even seeing any default shiny-server logs. Here is app.R for our "AirSensorDataViewer" golem…
1
vote
2 answers

Golem deploy in docker : %>% not fund

I migrate my shiny app in dockerised golem app. I have a problem in the use of pipe. With this line : plotly::plot_ly(tabPieTension, labels = ~cat, values = ~valeur, type = 'pie', sort = FALSE) %>% plotly::layout(title = "Delta tension (Baisse…
amillanfl
  • 35
  • 3
1
vote
2 answers

module for inputting csv/tsv/txt files in rshiny

I am developing a R Shiny application which will rely on a module in hopes that I can re-use the module for uploading and displaying two different data sets. As of now, my code works but I think I could make it a little bit cleaner as I don't think…
1
vote
1 answer

R Docker: Can't connect to local MySQL server through socket

I've used a golem pipeline to package & dockerize my app. For starters, I am trying to deploy the app locally on windows pc using docker (also tried to run it on linux with a same problem). The app collects the data from a local SQlite database…
ayasugihada
  • 329
  • 1
  • 2
  • 13
0
votes
0 answers

How can deploy a new shiny app to shinyapps.io in such a way that it is found at the same link as an old app?

I am in a bit of a tangle. I have shiny app A, a prototype app, which is deployed to shinyapps.io I made a new shiny app (B) using the {golem} framework. I created a whole separate project and git repository, which was a bad idea in hind sight.…
ifoxfoot
  • 195
  • 7
0
votes
0 answers

A Multilingual shiny app using golem infrastructure

I am working on a shiny app where users can select the language of the whole UI. That is, including menus of a sidebar object created with shinydashboard or bs4Dash. What is the first layer of components I can update using select-input? (sidebar,…
Luis
  • 61
  • 4
  • 9
0
votes
0 answers

How to load datasets for use globally in a shiny app using the golem framework

I am creating a shiny app using golem (I am just learning to use the golem framework). Usually, when developing a shiny app, if I have a dataset that I want to be available globally (ie available to all ui and server parts of the app), I load it in…
TheDza
  • 273
  • 3
  • 15
0
votes
0 answers

Where is Golem keeping track of files

I'm getting to grips with Golem in R and ran across something which I don't quite understand. So I wanted to try a different UI, so I saved my Shinydashboard UI as app_UI_dash.R and wrote a new app_UI.R file using shinymaterial. But when I ran…
DX101
  • 148
  • 11
0
votes
0 answers

How can I organize a Shiny app for dealing with different data inputs using the golem framework?

I made a simple shiny app for mean and variance comparisons on dataset provided by the user. The results are then stored in a list and included in a pdf Rmarkdown report. The app has 4 modules: data import and validation; data visualization, manual…
Ndr
  • 550
  • 3
  • 15