@@ -61,8 +61,8 @@ library(usethis)
61
61
# Create a new package -------------------------------------------------
62
62
path <- file.path(tempdir(), " mypkg" )
63
63
create_package(path )
64
- # > β Creating '/tmp/Rtmp7yJh5e /mypkg/'.
65
- # > β Setting active project to "/private/tmp/Rtmp7yJh5e /mypkg".
64
+ # > β Creating '/tmp/RtmpMuqeSm /mypkg/'.
65
+ # > β Setting active project to "/private/tmp/RtmpMuqeSm /mypkg".
66
66
# > β Creating 'R/'.
67
67
# > β Writing 'DESCRIPTION'.
68
68
# > Package: mypkg
@@ -80,8 +80,8 @@ create_package(path)
80
80
# > β Setting active project to "<no active project>".
81
81
# only needed since this session isn't interactive
82
82
proj_activate(path )
83
- # > β Setting active project to "/private/tmp/Rtmp7yJh5e /mypkg".
84
- # > β Changing working directory to '/tmp/Rtmp7yJh5e /mypkg/'
83
+ # > β Setting active project to "/private/tmp/RtmpMuqeSm /mypkg".
84
+ # > β Changing working directory to '/tmp/RtmpMuqeSm /mypkg/'
85
85
86
86
# Modify the description ----------------------------------------------
87
87
use_mit_license(" My Name" )
@@ -92,7 +92,7 @@ use_mit_license("My Name")
92
92
93
93
use_package(" ggplot2" , " Suggests" )
94
94
# > β Adding ggplot2 to 'Suggests' field in DESCRIPTION.
95
- # > β Use `requireNamespace("ggplot2", quietly = TRUE)` to test if package is
95
+ # > β Use `requireNamespace("ggplot2", quietly = TRUE)` to test if ggplot2 is
96
96
# > installed.
97
97
# > β Then directly refer to functions with `ggplot2::fun()`.
98
98
0 commit comments