Skip to content

Commit 14ca32b

Browse files
committed
devtools::build_readme()
1 parent 41d79e8 commit 14ca32b

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 10 additions & 9 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 '/var/folders/03/9x7925g54mncswxx06wpkxl00000gn/T/RtmpxLZ8U3/mypkg/'
64-
#> βœ“ Setting active project to '/private/var/folders/03/9x7925g54mncswxx06wpkxl00000gn/T/RtmpxLZ8U3/mypkg'
63+
#> βœ“ Creating '/tmp/RtmpxY5vMB/mypkg/'
64+
#> βœ“ Setting active project to '/private/tmp/RtmpxY5vMB/mypkg'
6565
#> βœ“ Creating 'R/'
6666
#> βœ“ Writing 'DESCRIPTION'
6767
#> Package: mypkg
@@ -74,13 +74,13 @@ create_package(path)
7474
#> license
7575
#> Encoding: UTF-8
7676
#> Roxygen: list(markdown = TRUE)
77-
#> RoxygenNote: 7.1.1
77+
#> RoxygenNote: 7.1.2
7878
#> βœ“ Writing 'NAMESPACE'
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/var/folders/03/9x7925g54mncswxx06wpkxl00000gn/T/RtmpxLZ8U3/mypkg'
83-
#> βœ“ Changing working directory to '/var/folders/03/9x7925g54mncswxx06wpkxl00000gn/T/RtmpxLZ8U3/mypkg/'
82+
#> βœ“ Setting active project to '/private/tmp/RtmpxY5vMB/mypkg'
83+
#> βœ“ Changing working directory to '/tmp/RtmpxY5vMB/mypkg/'
8484

8585
# Modify the description ----------------------------------------------
8686
use_mit_license("My Name")
@@ -91,12 +91,13 @@ use_mit_license("My Name")
9191

9292
use_package("MASS", "Suggests")
9393
#> βœ“ 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()`).
94+
#> β€’ Use `requireNamespace("MASS", quietly = TRUE)` to test if package is installed
95+
#> β€’ Then directly refer to functons like `MASS::fun()` (replacing `fun()`).
9696

9797
# Set up other files -------------------------------------------------
9898
use_readme_md()
9999
#> βœ“ Writing 'README.md'
100+
#> β€’ Update 'README.md' to include installation instructions.
100101

101102
use_news_md()
102103
#> βœ“ Writing 'NEWS.md'
@@ -107,7 +108,7 @@ use_test("my-test")
107108
#> βœ“ Creating 'tests/testthat/'
108109
#> βœ“ Writing 'tests/testthat.R'
109110
#> βœ“ Writing 'tests/testthat/test-my-test.R'
110-
#> ● Edit 'tests/testthat/test-my-test.R'
111+
#> β€’ Edit 'tests/testthat/test-my-test.R'
111112

112113
x <- 1
113114
y <- 2
@@ -116,7 +117,7 @@ use_data(x, y)
116117
#> βœ“ Creating 'data/'
117118
#> βœ“ Setting LazyData to 'true' in 'DESCRIPTION'
118119
#> βœ“ Saving 'x', 'y' to 'data/x.rda', 'data/y.rda'
119-
#> ● Document your data (see 'https://r-pkgs.org/data.html')
120+
#> β€’ Document your data (see 'https://r-pkgs.org/data.html')
120121

121122
# Use git ------------------------------------------------------------
122123
use_git()

0 commit comments

Comments
Β (0)