-
Notifications
You must be signed in to change notification settings - Fork 12
/
build_package.R
37 lines (31 loc) · 937 Bytes
/
build_package.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# usethis::use_cran_badge()
# usethis::use_lifecycle_badge(stage = "stable")
# cranlogs::cranlogs_badge(package_name = "migest", summary = "grand-total")
# usethis::use_pipe()
# usethis::use_tibble()
# usethis::use_news_md()
usethis::use_build_ignore(
c("build_package.R", "data-raw", "hex", "old-scripts", "R - copy",
"tests", "LICENSE", "README")
)
roxygen2::roxygenise()
devtools::check()
devtools::build()
##
## these are key if devtools::check() is working by github actions are not
##
usethis::use_github_action()
usethis::use_github_action_check_standard()
usethis::use_github_action("pkgdown")
usethis::use_github_actions_badge()
file.show("NEWS.md")
# usethis::use_pkgdown()
roxygen2::roxygenise()
# devtools::build()
# devtools::install()
usethis::use_pkgdown()
pkgdown::build_site()
pkgdown::build_site(run_dont_run = TRUE)
pkgdown::build_site_github_pages()
pkgdown::build_reference()
usethis::use_spell_check()