Infer source package paths using source references
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 409
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Today Packrat works with source packages, but only if the source packages' locations are manually specified in the source.packages parameter.
There is a possible way to probe for a package's source location in some instances:
- Load the package
- Iterate over the package namespace environment and look for functions
- Check each function for source references
- If the source reference points to an existing file on disk, walk up the directory structure starting at that file looking for a package root directory (i.e. contains DESCRIPTION, etc.)
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
No files or tests are identified. Start by locating Packrat's source-package handling and the source.packages parameter, then assess the proposed namespace and source-reference probing flow. Done means source package paths can be inferred from existing source references when a package root is found, while manual paths remain supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100