Learn R Programming

link

The goal of link is to help blog authors include links to their prose.

Installation

You can install the development version of link like so:

pak::pak("tadascience/link")

Example

Include this in your Rmd or qmd document to turn <pkg>::<fun>() and {<pkg>} into hyperlinks.

```{r, echo = FALSE}
link::auto()
```

You can drop the { and the pkg:: if you like:

```{r, echo = FALSE}
link::auto(keep_braces = FALSE, keep_pkg_prefix = FALSE)
```

By default, bslib powered tooltips are added. You can opt-out with type = "plain".

```{r, echo = FALSE}
link::auto(type = "plain")
```

Copy Link

Version

Install

install.packages('link')

Monthly Downloads

172

Version

2024.4.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

March 11th, 2024

Functions in link (2024.4.0)

auto

Setup automatic linking