Skip to content

Commit

Permalink
use document directory as knit directory :/
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Jul 30, 2024
1 parent 7adb1b2 commit 62e8080
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vignettes/articles/benchmarks.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ title: "Benchmarks"

```{r}
#| echo: false
if (file.exists("vignettes/articles/timings/linear_reg_timings.rda")) {
if (file.exists("timings/linear_reg_timings.rda")) {
eval_fits <- FALSE
# read outputs in from source:
files <- list.files("vignettes/articles/timings", full.names = TRUE)
files <- list.files("timings", full.names = TRUE)
loaded <- lapply(files, load, environment())
} else {
eval_fits <- TRUE
Expand All @@ -31,7 +31,6 @@ While this article will benchmark fit times, it doesn't measure model performanc
First, loading tidymodels and the rinfa extension package:

```{r setup, eval = eval_fits}
rlang::abort(paste0("Current wd: ", getwd()))
library(tidymodels)
library(rinfa)
```
Expand Down

0 comments on commit 62e8080

Please sign in to comment.