Reprex: * save this in "vignettes/reprex.Rmd" ````md --- 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 https://github.com/easystats/easystats/issues/356#issuecomment-1470840292_