-
Notifications
You must be signed in to change notification settings - Fork 11
/
devstuff_history.R
37 lines (30 loc) · 1007 Bytes
/
devstuff_history.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
37
available::available("pdfreport")
usethis::create_package("../pdfreport")
usethis::use_build_ignore("devstuff_history.R")
# description ----
library(desc)
unlink("DESCRIPTION")
my_desc <- description$new("!new")
my_desc$set_version("0.0.0.9000")
my_desc$set(Package = "pdfreport")
my_desc$set(Title = "A template for pdf report written in Rmarkdown")
my_desc$set(Description = "Create a tex file that defines caracteristics of your PDF report template.")
my_desc$set("Authors@R",
'c(
person("Sebastien", "Rochette", email = "[email protected]", role = c("aut", "cre"))
)')
# my_desc$set("VignetteBuilder", "knitr")
my_desc$del("Maintainer")
my_desc$del("URL")
my_desc$del("BugReports")
my_desc$write(file = "DESCRIPTION")
# Licence ----
usethis::use_mit_license("ThinkR")
# Packages ----
usethis::use_roxygen_md()
usethis::use_pipe()
attachment::att_to_description()
# Vignette ----
usethis::use_readme_rmd()
usethis::use_vignette("create-report-pdf")
devtools::build_vignettes()