File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed
content/installation/administrator/admin_install_r Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 1- if (!"checklist" %in% rownames(utils::installed.packages())) {
2- utils::install.packages("checklist")
3- }
4-
51options(
62 papersize = "a4",
73 tab.width = 2,
@@ -20,6 +16,12 @@ options(
2016 install.packages.check.source = "no",
2117 install.packages.compile.from.source = "never"
2218)
19+ if (!"checklist" %in% rownames(utils::installed.packages())) {
20+ utils::install.packages("checklist")
21+ }
22+ options(
23+ lintr.linter_file = system.file("lintr", package = "checklist")
24+ )
2325
2426# display fortune when starting new interactive R session
2527if (interactive()) {
Original file line number Diff line number Diff line change 11---
22title : " Install R"
33description : " Instruction for the installation of R (in Dutch)"
4- date : " 2022-04-28 "
4+ date : " 2022-05-17 "
55authors : [thierryo]
66categories : ["installation"]
77tags : ["r", "installation"]
@@ -90,10 +90,6 @@ Start `R` als een gewone gebruiker om de configuratie te testen.
9090
9191
9292```
93- if (!"checklist" %in% rownames(utils::installed.packages())) {
94- utils::install.packages("checklist")
95- }
96-
9793options(
9894 papersize = "a4",
9995 tab.width = 2,
@@ -112,6 +108,12 @@ options(
112108 install.packages.check.source = "no",
113109 install.packages.compile.from.source = "never"
114110)
111+ if (!"checklist" %in% rownames(utils::installed.packages())) {
112+ utils::install.packages("checklist")
113+ }
114+ options(
115+ lintr.linter_file = system.file("lintr", package = "checklist")
116+ )
115117
116118# display fortune when starting new interactive R session
117119if (interactive()) {
You can’t perform that action at this time.
0 commit comments