Skip to content

pak::scan_deps() empty results when given file path(s) #844

Open

Description

@rundel

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions