2022-09-22 14:20:46 +02:00
|
|
|
usethis::use_description(list(License = "GPL-3"))
|
|
|
|
usethis::use_namespace()
|
|
|
|
dir.create("R")
|
|
|
|
usethis::use_package_doc()
|
|
|
|
usethis::use_roxygen_md()
|
|
|
|
|
|
|
|
usethis::use_package()
|
|
|
|
|
|
|
|
spelling::spell_check_setup()
|
2022-09-22 14:24:20 +02:00
|
|
|
|
2022-09-22 14:32:08 +02:00
|
|
|
pkgdown:::build_site()
|
|
|
|
|
|
|
|
# https://privefl.github.io/advr38book/packages.html#pkg-start
|
|
|
|
|
|
|
|
# Update version
|
|
|
|
source("ver_upd.R")
|
|
|
|
|
|
|
|
updatePackageVersion()
|
|
|
|
|
|
|
|
# Commit and push
|
2022-09-22 14:47:33 +02:00
|
|
|
commit_message<-"Updated description"
|
2022-09-22 14:32:08 +02:00
|
|
|
|
|
|
|
git2r::commit(all=TRUE, message=paste(commit_message,lubridate::now()))
|
|
|
|
|
2022-09-22 14:47:33 +02:00
|
|
|
system("/usr/bin/git push origin HEAD:refs/heads/main")
|