We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4963b4f commit 397b0ebCopy full SHA for 397b0eb
Rmd/rstd.Rmd
@@ -5,6 +5,14 @@ editor_options:
5
6
# INTERNAL
7
8
+## Package load/unload
9
+
10
+```{r}
11
+.onUnload <- function (libpath) {
12
+ pkgpins::deregister(pkg = pkg)
13
+}
14
+```
15
16
## Avoid `R CMD check` notes about undefined global objects used in magrittr pipes
17
18
cf. <https://github.com/tidyverse/magrittr/issues/29#issuecomment-74313262>
@@ -21,14 +29,6 @@ utils::globalVariables(names = c(".",
21
29
pkg <- utils::packageName()
22
30
```
23
31
24
-## Package load/unload
25
-
26
-```{r}
27
-.onUnload <- function (libpath) {
28
- pkgpins::deregister(pkg = pkg)
-}
-```
32
# Test if RStudio is up to date
33
34
```{r}
0 commit comments