Skip to content

Commit

Permalink
devtools::build_readme()
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Mar 7, 2024
1 parent 27c98c3 commit 3c862a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ library(usethis)
# Create a new package -------------------------------------------------
path <- file.path(tempdir(), "mypkg")
create_package(path)
#> βœ” Creating '/tmp/Rtmp7yJh5e/mypkg/'.
#> βœ” Setting active project to "/private/tmp/Rtmp7yJh5e/mypkg".
#> βœ” Creating '/tmp/RtmpMuqeSm/mypkg/'.
#> βœ” Setting active project to "/private/tmp/RtmpMuqeSm/mypkg".
#> βœ” Creating 'R/'.
#> βœ” Writing 'DESCRIPTION'.
#> Package: mypkg
Expand All @@ -80,8 +80,8 @@ create_package(path)
#> βœ” Setting active project to "<no active project>".
# only needed since this session isn't interactive
proj_activate(path)
#> βœ” Setting active project to "/private/tmp/Rtmp7yJh5e/mypkg".
#> βœ” Changing working directory to '/tmp/Rtmp7yJh5e/mypkg/'
#> βœ” Setting active project to "/private/tmp/RtmpMuqeSm/mypkg".
#> βœ” Changing working directory to '/tmp/RtmpMuqeSm/mypkg/'

# Modify the description ----------------------------------------------
use_mit_license("My Name")
Expand All @@ -92,7 +92,7 @@ use_mit_license("My Name")

use_package("ggplot2", "Suggests")
#> βœ” Adding ggplot2 to 'Suggests' field in DESCRIPTION.
#> ☐ Use `requireNamespace("ggplot2", quietly = TRUE)` to test if package is
#> ☐ Use `requireNamespace("ggplot2", quietly = TRUE)` to test if ggplot2 is
#> installed.
#> ☐ Then directly refer to functions with `ggplot2::fun()`.

Expand Down

0 comments on commit 3c862a1

Please sign in to comment.