tests/testthat/resources/quotes.Rmd
raw| 1 | |
| 2 | Here is a filename outside an .R chunk: "empty.bib". It shouldn't be discovered. |
| 3 | |
| 4 | ```{r} |
| 5 | # this R code has a lot of strings that aren't filenames |
| 6 | paste("Covariances should be a ", n, " by ", n, " matrix") |
| 7 | syms <- paste("x", 1:n, sep = "") |
| 8 | as.numeric(attr(eval(deriv(form, syms), envir = envir), "gradient")) |
| 9 | |
| 10 | # this R code has strings that are filenames |
| 11 | read.csv("./empty.csv") |
| 12 | read.csv('./empty.tsv') |
| 13 | ``` |
| 14 |