Skip to content

[Bug]: Dependency Query via Vector dies if library is called directly #1738

@gigalasr

Description

@gigalasr

What happened?

Running the dependency query on code like

x <- c("a", "b", "c")
library(foo)
lapply(x, library, Character.Only = TRUE)

will currently resolve the libraries foo and unknown instead of a,b,c,foo

What version of R do you have installed?

No response

What version of flowR did you use?

v2.2.15 (Jun 2, 2025)

Related input code

x <- c("a", "b", "c")
library(foo)
lapply(x, library, Character.Only = TRUE)

Relevant log output

Meta Information

  • The Issue is Urgent
  • I Used the Dockerized Version of flowr

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquery apirelates to the query api

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions