Skip to content

Commit

Permalink
Adapt example for new options handling (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv authored Oct 20, 2023
1 parent 63671d7 commit 9185ca5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 4 additions & 2 deletions 094-purl-qmd.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ strsplit('hello world', ' ')

## ------------------------------------------------------------------------
#| label: test-b
#| fig.width: 10.0
#| fig.height: 7.0
#| fig-width: 10
#| fig-height: 7
#| fig-format: svg
#| fig-dpi: 120
if (FALSE) plot(1:10)


Expand Down
2 changes: 1 addition & 1 deletion 094-purl.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
strsplit('hello world', ' ')


## ----test-b, fig.width=10, fig.height=7----------------------------------
## ----test-b, fig.width=10, fig.height=7, dev='svg', dpi = 120------------
if (FALSE) plot(1:10)


Expand Down
2 changes: 1 addition & 1 deletion 094-purl.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ strsplit('hello world', ' ')

A second chunk.

```{r test-b, fig.width=10, fig.height=7}
```{r test-b, fig.width=10, fig.height=7, dev='svg', dpi = 120}
if (FALSE) plot(1:10)
```

Expand Down
6 changes: 4 additions & 2 deletions 094-purl.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ A second chunk.

```{r}
#| label: test-b
#| fig.width: 10.0
#| fig.height: 7.0
#| fig-width: 10
#| fig-height: 7
#| fig-format: svg
#| fig-dpi: 120
if (FALSE) plot(1:10)
```

Expand Down

0 comments on commit 9185ca5

Please sign in to comment.