Suggestion: `list.files()` with and for here
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Review the existing here() behavior and compare it with the issue's proposed list.files() use case. No source files or tests are named, so first identify the package entry point and relevant tests, then clarify the expected relative-path output and how completion would be verified.
Written by the indexing model from the issue text.
Description
Hi,
with list.files() we can retrieve a list of all file names including their extensions from a specified folder. Adding all.files = TRUE extends this to the complete file path.
Do you see added value in a similar function but then in the here() fashion of returning the file path relative to the top-level directory?
Greetings,
Frederick
- Dominant language
- R
- Stars
- 436
- Forks
- 45
- Avg merge
- 4m
- Merged PRs (30d)
- 4
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.
More from r-lib/here
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
here v1.0.2 Open
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
beginners blocker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enviPathR OpenBuild Error Build OK Build Warning policies-accepted pre-review precheck-passed
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Bioconductor/BiocContributions#207 · 6 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
datacarpentry/semester-biology#1255 ·