Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions content/installation/administrator/admin_install_r/Rprofile.site
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
if (!"checklist" %in% rownames(utils::installed.packages())) {
utils::install.packages("checklist")
}

options(
papersize = "a4",
tab.width = 2,
Expand All @@ -20,6 +16,12 @@ options(
install.packages.check.source = "no",
install.packages.compile.from.source = "never"
)
if (!"checklist" %in% rownames(utils::installed.packages())) {
utils::install.packages("checklist")
}
options(
lintr.linter_file = system.file("lintr", package = "checklist")
)

# display fortune when starting new interactive R session
if (interactive()) {
Expand Down
12 changes: 7 additions & 5 deletions content/installation/administrator/admin_install_r/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Install R"
description: "Instruction for the installation of R (in Dutch)"
date: "2022-04-28"
date: "2022-05-17"
authors: [thierryo]
categories: ["installation"]
tags: ["r", "installation"]
Expand Down Expand Up @@ -90,10 +90,6 @@ Start `R` als een gewone gebruiker om de configuratie te testen.


```
if (!"checklist" %in% rownames(utils::installed.packages())) {
utils::install.packages("checklist")
}

options(
papersize = "a4",
tab.width = 2,
Expand All @@ -112,6 +108,12 @@ options(
install.packages.check.source = "no",
install.packages.compile.from.source = "never"
)
if (!"checklist" %in% rownames(utils::installed.packages())) {
utils::install.packages("checklist")
}
options(
lintr.linter_file = system.file("lintr", package = "checklist")
)

# display fortune when starting new interactive R session
if (interactive()) {
Expand Down