Skip to content

Commit d12bc14

Browse files
authored
Merge pull request #312 from inbo/hotfix
bugfix in RProfile.site
2 parents 29bf515 + 31a7ef0 commit d12bc14

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

content/installation/administrator/admin_install_r/Rprofile.site

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
if (!"checklist" %in% rownames(utils::installed.packages())) {
2-
utils::install.packages("checklist")
3-
}
4-
51
options(
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
2527
if (interactive()) {

content/installation/administrator/admin_install_r/index.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Install R"
33
description: "Instruction for the installation of R (in Dutch)"
4-
date: "2022-04-28"
4+
date: "2022-05-17"
55
authors: [thierryo]
66
categories: ["installation"]
77
tags: ["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-
9793
options(
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
117119
if (interactive()) {

0 commit comments

Comments
 (0)