Skip to content

Commit

Permalink
vignette; do not evaluate
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-baumann committed Jan 20, 2024
1 parent 404ac7a commit 54d05b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dev/running_r_or_shell_code_in_nix_from_r.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ df_as_vector <- function(x = df) {

Then, you just supply the name of the function to evaluate with default arguments.

```{r}
```{r, eval=FALSE}
out_nix_1_2 <- with_nix(
expr = function() df_as_vector, # provide name of function
program = "R",
Expand All @@ -124,7 +124,7 @@ out_nix_1_2 <- with_nix(

It yields the same results.

```{r}
```{r, eval=FALSE}
Reduce(f = identical, list(out_system_1, out_nix_1, out_nix_1_2))
```

Expand Down
4 changes: 2 additions & 2 deletions vignettes/running-r-or-shell-code-in-nix-from-r.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ df_as_vector <- function(x = df) {
Then, you just supply the name of the function to evaluate with default arguments.


```{r}
```{r eval = FALSE}
out_nix_1_2 <- with_nix(
expr = function() df_as_vector, # provide name of function
program = "R",
Expand All @@ -150,7 +150,7 @@ out_nix_1_2 <- with_nix(
It yields the same results.


```{r}
```{r eval = FALSE}
Reduce(f = identical, list(out_system_1, out_nix_1, out_nix_1_2))
```

Expand Down

0 comments on commit 54d05b9

Please sign in to comment.