commit 131e4f560cea932b35b763c0a3088e8f70ba01f7 parent 4c0f7179569eb9d1e02a5db583b5ed54318c9dbf Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Wed, 19 Jun 2024 21:59:34 +0200 feat: add R configuration Diffstat:
A | R/.Rprofile | | | 20 | ++++++++++++++++++++ |
1 file changed, 20 insertions(+), 0 deletions(-)
diff --git a/R/.Rprofile b/R/.Rprofile @@ -0,0 +1,20 @@ +#!/usr/bin/env Rscript + +# Enforce confliction mode +if (!require("conflicted", quietly = TRUE)) { + message( + "Package \"conflicted\" is not installed. You can install it via: ", + "install.packages(\"conflicted\")" + ) +} + +# Colour output for the R console +if (!require("colorout", quietly = TRUE)) { + message( + "Package \"colourout\" is not installed. You can install it from: ", + "https://github.com/jalvesaq/colorout" + ) +} + +# Always open help files in the web browser +options(help_type='html')