Skip to content

Commit

Permalink
Tweaks to README
Browse files Browse the repository at this point in the history
Fixes r-lib#67
  • Loading branch information
hadley committed Sep 13, 2017
1 parent f2a6ac7 commit 54b98e8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ library(usethis)
# Create a new package -------------------------------------------------
tmp <- file.path(tempdir(), "mypkg")
create_package(tmp, open = FALSE)
create_package(tmp, rstudio = TRUE)
# You'd normally start working with that package in a new project
# Here I'm going to simulated that by changing the working directory
setwd(tmp)
# Modify the description ----------------------------------------------
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ library(usethis)

# Create a new package -------------------------------------------------
tmp <- file.path(tempdir(), "mypkg")
create_package(tmp, open = FALSE)
create_package(tmp, rstudio = TRUE)
#> ✔ Creating 'mypkg/'
#> ✔ Creating 'R/'
#> ✔ Creating 'man/'
Expand All @@ -36,6 +36,9 @@ create_package(tmp, open = FALSE)
#> ✔ Writing 'mypkg.Rproj'
#> ✔ Adding '.Rproj.user' to './.gitignore'
#> ✔ Adding '^.*\\.Rproj$', '^\\.Rproj\\.user$' to '.Rbuildignore'

# You'd normally start working with that package in a new project
# Here I'm going to simulated that by changing the working directory
setwd(tmp)

# Modify the description ----------------------------------------------
Expand Down

0 comments on commit 54b98e8

Please sign in to comment.