Skip to content

Commit 397b0eb

Browse files
committed
re-order chunks
1 parent 4963b4f commit 397b0eb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Rmd/rstd.Rmd

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ editor_options:
55

66
# INTERNAL
77

8+
## Package load/unload
9+
10+
```{r}
11+
.onUnload <- function (libpath) {
12+
pkgpins::deregister(pkg = pkg)
13+
}
14+
```
15+
816
## Avoid `R CMD check` notes about undefined global objects used in magrittr pipes
917

1018
cf. <https://github.com/tidyverse/magrittr/issues/29#issuecomment-74313262>
@@ -21,14 +29,6 @@ utils::globalVariables(names = c(".",
2129
pkg <- utils::packageName()
2230
```
2331

24-
## Package load/unload
25-
26-
```{r}
27-
.onUnload <- function (libpath) {
28-
pkgpins::deregister(pkg = pkg)
29-
}
30-
```
31-
3232
# Test if RStudio is up to date
3333

3434
```{r}

0 commit comments

Comments
 (0)