Skip to content

Commit

Permalink
don't echo include_graphics()
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Jan 24, 2025
1 parent 7f1ed15 commit ef63063
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ Once those steps are completed, you're ready to use pals with a keyboard shortcu
Pals are created automatically when users interact with the pal addin. Just highlight some code, open the addin, begin typing the "role" of your pal and press "Return", and watch your code be rewritten:

```{r}
#| label: addin-gif
#| echo: false
#| fig-alt: "A screencast of an RStudio session. An .R file is open in the editor with a function definition. The user selects various subsets of the function and, after selecting from a dropdown menu, the pal assistant converts erroring code and drafts function documentation."
knitr::include_graphics("https://raw.githubusercontent.com/simonpcouch/pal/refs/heads/main/inst/figs/addin.gif")
```
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ Pals are created automatically when users interact with the pal addin.
Just highlight some code, open the addin, begin typing the “role” of
your pal and press “Return”, and watch your code be rewritten:

``` r
knitr::include_graphics("https://raw.githubusercontent.com/simonpcouch/pal/refs/heads/main/inst/figs/addin.gif")
```

<img src="https://raw.githubusercontent.com/simonpcouch/pal/refs/heads/main/inst/figs/addin.gif" alt="A screencast of an RStudio session. An .R file is open in the editor with a function definition. The user selects various subsets of the function and, after selecting from a dropdown menu, the pal assistant converts erroring code and drafts function documentation." width="100%" />

As-is, the package provides ergonomic LLM assistants for R package
Expand Down

0 comments on commit ef63063

Please sign in to comment.