Skip to content

Commit 5e6bd5c

Browse files
Add missing target="_blank" (multiline links)
* Multiline links were not captured in the batch regex replacement.
1 parent 1740589 commit 5e6bd5c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

roxygen-guidelines.Rmd

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This is based on:
2626

2727
- **roxygen2** vignettes: `browseVignettes("roxygen2")`, in particular
2828
[Generating Rd
29-
files](https://cran.r-project.org/web/packages/roxygen2/vignettes/rd.html).
29+
files](https://cran.r-project.org/web/packages/roxygen2/vignettes/rd.html){target="_blank"}.
3030
- The [tidyverse style guide](https://style.tidyverse.org/documentation.html){target="_blank"}.
3131
- Package development experience.
3232

@@ -141,7 +141,7 @@ Several techniques and tools are available to enable and support a more
141141
consistent and maintainable documentation.
142142

143143
This can be described in detail in the [Do repeat
144-
yourself](https://cran.r-project.org/web/packages/roxygen2/vignettes/rd.html#do-repeat-yourself)
144+
yourself](https://cran.r-project.org/web/packages/roxygen2/vignettes/rd.html#do-repeat-yourself){target="_blank"}
145145
section of vignette _Generating Rd files_, and are summarized as follows
146146

147147
- Cross-link documentation files with `@seealso` and `@family`.
@@ -180,7 +180,7 @@ man-roxygen/ex-<FUNCTION_NAME>.R`.
180180

181181
Tags `@rdname` and `@describeIn` are a convenient way to document multiple
182182
functions in the same file. See the roxygen2 vignette [Generating Rd
183-
files](https://cran.r-project.org/web/packages/roxygen2/vignettes/rd.html)
183+
files](https://cran.r-project.org/web/packages/roxygen2/vignettes/rd.html){target="_blank"}
184184
(`vignette("rd", package = "roxygen2")`) for more detail.
185185

186186
In both case, not that `@title` should be specified only for the _main_

version-stable-r-development.Rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Linux systems), where only one R version (the latest release) exists.
7575
The idea is then to rely on the same version-stable rocker containers used for
7676
the deployments, using a containerized versioned RStudio instance for the local
7777
development. This is available through Rocker's [versioned
78-
stack](https://www.rocker-project.org/images/#the-versioned-stack), so we could
78+
stack](https://www.rocker-project.org/images/#the-versioned-stack){target="_blank"}, so we could
7979
use e.g. `rocker/rstudio:4.4.1`.
8080

8181
Note that the same version-stable instance of RStudio can be used across all
@@ -111,7 +111,7 @@ container and be shared with it (and possibly multiple other containers), e.g. u
111111
`~/workspace` on the host machine and `/home/rstudio/workspace` in
112112
the container.
113113
- For this to work w/o [permission
114-
issues](https://rocker-project.org/images/versioned/rstudio.html#userid-and-groupid),
114+
issues](https://rocker-project.org/images/versioned/rstudio.html#userid-and-groupid){target="_blank"},
115115
the container user (`rstudio`) must match the UID of the host user (`$UID`).
116116
This has the effect of setting the ownership of `~/workspace` on the host machine to `$UID` if it is not already owned by that user.
117117
- In order for the RStudio settings to persist if the container is recreated

0 commit comments

Comments
 (0)