Skip to content

Conversation

@ilyaZar
Copy link
Contributor

@ilyaZar ilyaZar commented Dec 6, 2025

Fix #1220

@ColinFay I am not sure about the best practices writing part .. Maybe there is a way for a cleaner phrasing, but I think one should add a bit more context for that vignette because #1220 , #854 and #851 are more or less aiming at a clarification.

- Fix grammar: "There is" -> "There are"
- Improve clarity: "are usable" -> "can be used"
- Fix typo: remove ",." at end of sentence
- Replace informal "The big difference" with "The main difference"
- Clarify pronoun references for better readability
- Standardize "back-end" to "backend"
- Improve sentence flow and remove awkward phrasing
Add introductory section explaining that golem has two independent
mechanisms for managing production vs development mode:
- R options approach (options(golem.app.prod)) for golem utilities
- Config file approach (golem-config.yml) for app-specific settings

Add comprehensive recap section at end that:
- Explains the R options mechanism and which functions use it
- Clarifies that the two mechanisms are NOT automatically synchronized
- Documents the different purposes and scopes of each approach
- Provides best practices for when to use each mechanism
- Shows example of syncing them if needed

This addresses confusion raised in issue ThinkR-open#1220 where users expected
config file changes to affect golem's dev/prod utilities.
@VincentGuyader
Copy link
Member

thanks

@VincentGuyader VincentGuyader merged commit 91b8ebb into ThinkR-open:master Dec 6, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Mismatched options/config for golem::app_prod()

2 participants