Skip to content

Error in data_filter() when rendering Rmd with lapply() #379

Description

@etiennebacher

Reprex:

  • save this in "vignettes/reprex.Rmd"
---
output: rmarkdown::html_document
---

```{r}
dat <- data.frame() # dataset doesn't matter here
test <- c("a", "b", "c")
x <- "a"

data_filter(dat, x %in% test)
```
  • remove all objects from global env
  • run lapply("vignettes/reprex.Rmd", rmarkdown::render)

Originally posted by @etiennebacher in easystats/easystats#356 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions