Skip to content

Commit 7b9531d

Browse files
committed
devtools::build_readme()
1 parent 0f6f805 commit 7b9531d

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ library(usethis)
6060
# Create a new package -------------------------------------------------
6161
path <- file.path(tempdir(), "mypkg")
6262
create_package(path)
63-
#> βœ“ Creating '/tmp/RtmpCnD2JV/mypkg/'
64-
#> βœ“ Setting active project to '/private/tmp/RtmpCnD2JV/mypkg'
65-
#> βœ“ Creating 'R/'
66-
#> βœ“ Writing 'DESCRIPTION'
63+
#> βœ” Creating '/tmp/Rtmp4VMzwK/mypkg/'
64+
#> βœ” Setting active project to '/private/tmp/Rtmp4VMzwK/mypkg'
65+
#> βœ” Creating 'R/'
66+
#> βœ” Writing 'DESCRIPTION'
6767
#> Package: mypkg
6868
#> Title: What the Package Does (One Line, Title Case)
6969
#> Version: 0.0.0.9000
@@ -74,55 +74,55 @@ create_package(path)
7474
#> license
7575
#> Encoding: UTF-8
7676
#> Roxygen: list(markdown = TRUE)
77-
#> RoxygenNote: 7.1.2
78-
#> βœ“ Writing 'NAMESPACE'
79-
#> βœ“ Setting active project to '<no active project>'
77+
#> RoxygenNote: 7.2.0
78+
#> βœ” Writing 'NAMESPACE'
79+
#> βœ” 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/RtmpCnD2JV/mypkg'
83-
#> βœ“ Changing working directory to '/tmp/RtmpCnD2JV/mypkg/'
82+
#> βœ” Setting active project to '/private/tmp/Rtmp4VMzwK/mypkg'
83+
#> βœ” Changing working directory to '/tmp/Rtmp4VMzwK/mypkg/'
8484

8585
# Modify the description ----------------------------------------------
8686
use_mit_license("My Name")
87-
#> βœ“ Setting License field in DESCRIPTION to 'MIT + file LICENSE'
88-
#> βœ“ Writing 'LICENSE'
89-
#> βœ“ Writing 'LICENSE.md'
90-
#> βœ“ Adding '^LICENSE\\.md$' to '.Rbuildignore'
87+
#> βœ” Setting License field in DESCRIPTION to 'MIT + file LICENSE'
88+
#> βœ” Writing 'LICENSE'
89+
#> βœ” Writing 'LICENSE.md'
90+
#> βœ” Adding '^LICENSE\\.md$' to '.Rbuildignore'
9191

9292
use_package("ggplot2", "Suggests")
93-
#> βœ“ Adding 'ggplot2' to Suggests field in DESCRIPTION
93+
#> βœ” Adding 'ggplot2' to Suggests field in DESCRIPTION
9494
#> β€’ Use `requireNamespace("ggplot2", quietly = TRUE)` to test if package is installed
9595
#> β€’ Then directly refer to functions with `ggplot2::fun()`
9696

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

102102
use_news_md()
103-
#> βœ“ Writing 'NEWS.md'
103+
#> βœ” Writing 'NEWS.md'
104104

105105
use_test("my-test")
106-
#> βœ“ Adding 'testthat' to Suggests field in DESCRIPTION
107-
#> βœ“ Setting Config/testthat/edition field in DESCRIPTION to '3'
108-
#> βœ“ Creating 'tests/testthat/'
109-
#> βœ“ Writing 'tests/testthat.R'
110-
#> βœ“ Writing 'tests/testthat/test-my-test.R'
106+
#> βœ” Adding 'testthat' to Suggests field in DESCRIPTION
107+
#> βœ” Setting Config/testthat/edition field in DESCRIPTION to '3'
108+
#> βœ” Creating 'tests/testthat/'
109+
#> βœ” Writing 'tests/testthat.R'
110+
#> βœ” Writing 'tests/testthat/test-my-test.R'
111111
#> β€’ Edit 'tests/testthat/test-my-test.R'
112112

113113
x <- 1
114114
y <- 2
115115
use_data(x, y)
116-
#> βœ“ Adding 'R' to Depends field in DESCRIPTION
117-
#> βœ“ Creating 'data/'
118-
#> βœ“ Setting LazyData to 'true' in 'DESCRIPTION'
119-
#> βœ“ Saving 'x', 'y' to 'data/x.rda', 'data/y.rda'
116+
#> βœ” Adding 'R' to Depends field in DESCRIPTION
117+
#> βœ” Creating 'data/'
118+
#> βœ” Setting LazyData to 'true' in 'DESCRIPTION'
119+
#> βœ” Saving 'x', 'y' to 'data/x.rda', 'data/y.rda'
120120
#> β€’ Document your data (see 'https://r-pkgs.org/data.html')
121121

122122
# Use git ------------------------------------------------------------
123123
use_git()
124-
#> βœ“ Initialising Git repo
125-
#> βœ“ Adding '.Rproj.user', '.Rhistory', '.Rdata', '.httr-oauth', '.DS_Store' to '.gitignore'
124+
#> βœ” Initialising Git repo
125+
#> βœ” Adding '.Rproj.user', '.Rhistory', '.Rdata', '.httr-oauth', '.DS_Store' to '.gitignore'
126126
```
127127

128128
## Code of Conduct

0 commit comments

Comments
Β (0)