Skip to content

Commit c60f62d

Browse files
Merge pull request #979 from ThinkR-open/dev-build-readme
fix: allow to build readme in 01_start
2 parents 5eb61fb + 3e11e48 commit c60f62d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

inst/shinyexample/dev/01_start.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ golem::install_dev_deps()
3939
## See ?usethis for more information
4040
usethis::use_mit_license("Golem User") # You can set another license here
4141
usethis::use_readme_rmd(open = FALSE)
42+
devtools::build_readme()
4243
# Note that `contact` is required since usethis version 2.1.5
4344
# If your {usethis} version is older, you can remove that param
4445
usethis::use_code_of_conduct(contact = "Golem User")
@@ -64,4 +65,4 @@ golem::use_utils_server(with_test = TRUE)
6465
# You're now set! ----
6566

6667
# go to dev/02_dev.R
67-
rstudioapi::navigateToFile("dev/02_dev.R")
68+
rstudioapi::navigateToFile("dev/02_dev.R")

0 commit comments

Comments
 (0)