-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevtools_history.R
122 lines (82 loc) · 2.3 KB
/
devtools_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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
library(usethis)
library(devtools)
file.edit("devtools_history.R") # to create a file
usethis::use_build_ignore("devtools_history.R") # to ignore the file
usethis::use_build_ignore(".lintr")
file.edit(".lintr") # to create a file
use_gpl3_license()
use_cran_comments()
use_data_table()
use_pipe()
styler::style_file("metadata/combine_journal_lists.R")
lintr::lint("metadata/combine_journal_lists.R")
usethis::use_testthat()
list.files("R/", pattern = "*.R")
styler::style_file("R/bib2bib.R")
lintr::lint("R/bib2bib.R")
styler::style_file("R/get_abbrtable.R")
lintr::lint("R/get_abbrtable.R")
styler::style_file("R/get_delcolumns.R")
lintr::lint("R/get_delcolumns.R")
styler::style_file("R/read_bib2dt.R")
lintr::lint("R/read_bib2dt.R")
styler::style_file("R/replace_field.R")
lintr::lint("R/replace_field.R")
styler::style_file("R/write_dt2bib.R")
lintr::lint("R/write_dt2bib.R")
styler::style_file("R/bib2bib.R")
lintr::lint("R/bib2bib.R")
document()
styler::style_pkg()
lintr::lint_package()
use_package("purrr")
use_package("stringr")
use_r("bib2bib.R")
use_import_from("stringr",'str_detect')
use_import_from("stringi",'stri_unescape_unicode')
document()
check()
styler::style_file("inst/shiny-examples/appckwx/app.R")
lintr::lint("inst/shiny-examples/appckwx/app.R")
rm(list=ls())
load_all()
devtools::install()
devtools::document()
devtools::check(args = c('--as-cran'))
devtools::check_rhub()
# usethis::use_readme_rmd()
usethis::use_testthat()
roxygen2::roxygenise()
devtools::document(roclets=c('rd', 'collate', 'namespace'))
devtools::build_readme()
devtools::load_all()
devtools::document()
help(cites_extract)
help(cites_replace_author)
devtools::check(args = c('--as-cran'))
devtools::check_win_devel()
rhub::check()
rhub::check_on_windows()
devtools::check_rhub()
rhub::check_on_debian()
rhub::check_for_cran()
use_travis()
use_travis_badge()
use_lifecycle_badge()
use_cran_badge()
covr::package_coverage(type="all")# test coverage badge
use_coverage() # add a badge to README.md
use_github_action("test-coverage") # test coverage action
# to create badges
use_cran_badge()
use_lifecycle_badge("stable")
use_lifecycle()
# add test code
use_test("add_abbrtable.R")
use_test("read_bib2dt")
use_test("replace_field.R")
devtools::build_readme()
rm(list = ls())
document()
devtools::test()
load_all()