Skip to content

Commit 0d78d60

Browse files
committed
Update README
1 parent a4b26ef commit 0d78d60

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

β€ŽREADME.Rmdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ proj_activate(path)
6666
# Modify the description ----------------------------------------------
6767
use_mit_license("My Name")
6868
69-
use_package("MASS", "Suggests")
69+
use_package("ggplot2", "Suggests")
7070
7171
# Set up other files -------------------------------------------------
7272
use_readme_md()

β€ŽREADME.mdβ€Ž

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ library(usethis)
6060
# Create a new package -------------------------------------------------
6161
path <- file.path(tempdir(), "mypkg")
6262
create_package(path)
63-
#> βœ“ Creating '/tmp/RtmpxY5vMB/mypkg/'
64-
#> βœ“ Setting active project to '/private/tmp/RtmpxY5vMB/mypkg'
63+
#> βœ“ Creating '/tmp/Rtmp86lEpD/mypkg/'
64+
#> βœ“ Setting active project to '/private/tmp/Rtmp86lEpD/mypkg'
6565
#> βœ“ Creating 'R/'
6666
#> βœ“ Writing 'DESCRIPTION'
6767
#> Package: mypkg
@@ -79,8 +79,8 @@ create_package(path)
7979
#> βœ“ Setting active project to '<no active project>'
8080
# only needed since this session isn't interactive
8181
proj_activate(path)
82-
#> βœ“ Setting active project to '/private/tmp/RtmpxY5vMB/mypkg'
83-
#> βœ“ Changing working directory to '/tmp/RtmpxY5vMB/mypkg/'
82+
#> βœ“ Setting active project to '/private/tmp/Rtmp86lEpD/mypkg'
83+
#> βœ“ Changing working directory to '/tmp/Rtmp86lEpD/mypkg/'
8484

8585
# Modify the description ----------------------------------------------
8686
use_mit_license("My Name")
@@ -89,10 +89,10 @@ use_mit_license("My Name")
8989
#> βœ“ Writing 'LICENSE.md'
9090
#> βœ“ Adding '^LICENSE\\.md$' to '.Rbuildignore'
9191

92-
use_package("MASS", "Suggests")
93-
#> βœ“ Adding 'MASS' to Suggests field in DESCRIPTION
94-
#> β€’ Use `requireNamespace("MASS", quietly = TRUE)` to test if package is installed
95-
#> β€’ Then directly refer to functons like `MASS::fun()` (replacing `fun()`).
92+
use_package("ggplot2", "Suggests")
93+
#> βœ“ Adding 'ggplot2' to Suggests field in DESCRIPTION
94+
#> β€’ Use `requireNamespace("ggplot2", quietly = TRUE)` to test if package is installed
95+
#> β€’ Then directly refer to functions with `ggplot2::fun()`
9696

9797
# Set up other files -------------------------------------------------
9898
use_readme_md()

0 commit comments

Comments
Β (0)