How to run golem app as background job by invoking run_dev()?
@ColinFay is already working on this.
Since Jun 18, 2024.
Assessment
This issue has not been assessed yet.
Description
I prefer to have my shiny apps run as a background job so that the console remains free. Is there a way to change the way run_dev() works in order to make that the default?
In addition, I think that this would have the added benefit of ensuring that the app runs in a clean environment, without having to clean the interactive environment, allowing the console environment to stay as is. I use golem::detach_all_attached() and rm(list=ls(all.names = TRUE)) in run_dev.R to ensure that the app runs in a clean environment each time. However, this can be slightly sub-optimal for development because if I want to do some testing/debugging in the console without having to specify the package with package::function(), it means that every time I run the app, I have to reload any libraries (usually library(tidyverse)) to avoid this during interactive coding.
Note - sorry, I didn't mean to label this as a bug or assign @ColinFay, and I"m not able to delete it to post as a feature request.
- Dominant language
- R
- Stars
- 947
- Forks
- 135
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ThinkR-open/golem
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ThinkR-open/golem#1265 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
ThinkR-open/golem#1259 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ThinkR-open/golem#1258 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
ThinkR-open/golem#1257 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ThinkR-open/golem#1256 ·
All issues in ThinkR-open/golem
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
leppott/BioMonTools#162 ·
-
publications
Difficulty 1/5 Under an hour Newbie friendliness 85/100
epiforecasts/epiforecasts.github.io#161 ·
Maintainers usually reply within 1 day
-
Label `{sas}` chunk source as `sas` instead of `txt`, so it gets syntax highlightingPossibly taken @michaelmayer2 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
microbiome/OMA#1031 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
furrer-lab/abn#291 · 2 comments ·