Reasonable way to use RStudio's source with modules?
Open
💬 discussion
- Dominant language
- R
- Stars
- 979
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
Currently it seems like if you source module `a`, which imports module `b` using `box::use(b)`, then any changes to `b` will not ever be reflected when you source `a` subsequent times. I assume this is to do with the caching mechanism, but it basically means that you can never use source, and therefore can't use the debugger. This seems like an issue.
Contributor guide
Research direction
Start by reproducing the reported workflow in RStudio: source module a after changing module b, where a imports b with box::use(b). Read the module caching behavior and RStudio source/debugger integration; done means subsequent sourcing reflects changes in b and the debugger remains usable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- developer-experience
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100