@@ -60,8 +60,8 @@ library(usethis)
6060# Create a new package -------------------------------------------------
6161path <- file.path(tempdir(), " mypkg" )
6262create_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
8181proj_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 ----------------------------------------------
8686use_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 -------------------------------------------------
9898use_readme_md()
0 commit comments