pak::scan_deps() empty results when given file path(s)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 50/100
Research direction
Reproduce the behavior with test.R and test.qmd using pak::scan_deps() on the directory and on the listed file paths. Trace the scan_deps entry point to determine why file-specific scans return no output; done means the three file-path calls report the dependencies from their respective files.
Written by the indexing model from the issue text.
Description
Basic reprex is to create a folder with the following files:
test.R:
library(tidymodels)
test.qmd:
---
format: html
---
```{r}
library(tidyverse)
The following is the observed behavior when scanning from that directory:
pak::scan_deps()
Dependencies:
- rmarkdown @ test.qmd
- tidymodels @ test.R
- tidyverse @ test.qmd
pak::scan_deps("test.qmd", "./")
pak::scan_deps("test.R", "./")
pak::scan_deps(c("test.qmd","test.R"), "./")
In previous versions (not sure when this broke) of pak the latter three calls would have returned the file specific dependencies.
- Dominant language
- C
- Stars
- 821
- Forks
- 88
- Avg merge
- 17m
- Merged PRs (30d)
- 1
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/pak
-
documentation upkeep
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Similar issues
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·
-
bug Self Built Image SNAPSHOT Supported Device target/ramips
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100