-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdevstuff_history.R
51 lines (41 loc) · 1.55 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
usethis::use_build_ignore("devstuff_history.R")
# Description
library(desc)
unlink("DESCRIPTION")
my_desc <- description$new("!new")
my_desc$set(Package = "mamut2r")
my_desc$set_version("0.0.0.9000")
my_desc$set(Title = "Import of MaMuT xml file into R")
my_desc$set(Description = "Imports data coming from .xml files generated with the Fiji MaMuT plugin for lineage and tracking of biological objects.")
my_desc$set("Authors@R", 'c(
person("Marion", "Louveaux", email = "[email protected]", role = c("aut", "cre"))
)')
my_desc$set("VignetteBuilder", "knitr")
my_desc$set("URL", "https://github.com/marionlouveaux/mamut2r")
my_desc$set("BugReports", "https://github.com/marionlouveaux/mamut2r/issues")
my_desc$set("BiocViews", "rhdf5")
my_desc$del("Maintainer")
my_desc$write(file = "DESCRIPTION")
# Licence
usethis::use_gpl3_license("Marion Louveaux")
# Add dependencies to Description
usethis::use_pipe()
# Readme
usethis::use_readme_rmd()
usethis::use_code_of_conduct()
usethis::use_news_md()
usethis::use_appveyor()
# Attachments
install.packages("BiocManager")
BiocManager::install("rhdf5")
devtools::install_github("marionlouveaux/cellviz3d")
# usethis::use_roxygen_md()
# devtools::install_github("ThinkR-open/attachment")
attachment::att_to_description(extra.suggests = "pkgdown",
pkg_ignore = c("BiocManager", "devtools"))
attachment::create_dependencies_file(field = c("Depends", "Imports", "Suggests"))
# Run Vignette
devtools::clean_vignettes()
devtools::build_vignettes()
# Test pkgdown
pkgdown::build_site()