-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev_history.R
45 lines (30 loc) · 1.07 KB
/
dev_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
# created by Lukas Huber
# Dev-History
## Research Compendium
## https://www.researchobject.org/ro-crate/1.1/root-data-entity.html#ro-crate-metadata-file-descriptor
write_compendium_description(package = "Your compendium name",
description = "Your compendium description")
# Code
# Lintr
install.packages("lintr")
library(lintr)
#holepunch::write_runtime() # https://github.com/alan-turing-institute/the-turing-way/blob/master/workshops/boost-research-reproducibility-binder/workshop-presentations/zero-to-binder-r.md
## covr
covr::codecov()
## testthat
testthat::test_local(".")
## Github Action for R CMD Check
usethis::use_github_action_check_standard()
## pkgdown
pkgdown::build_site()
usethis::use_gpl3_license() # GPL-License for maximum shareability
## Drake Execution
drake::clean(destroy=T) # attention - makes a clean new release
#prov
# Provenance in R
# https://github.com/End-to-end-provenance/RDataTracker
## Provenance of a run
library(rdtLite)
rdtLite::prov.quit()
rdtLite::prov.run("make.R", prov.dir = ".prov")
rdtLite::prov.visualize()