blob: 81866b008010067c478e1438309d954214cc3bca (
plain) (
tree)
|
|
options(pdfviewer="okular")
options(browser="firefox")
options(menu.graphics=FALSE)
# R package repositories
local({
r <- getOption("repos")
r["CRAN"] <- "https://cran.rstudio.com"
#r["CRAN"] <- "http://cran.at.r-project.org" # if https does not work
#r["eddelbuettel"] <- "https://eddelbuettel.github.io/drat"
#r["ghrr"] <- "https://ghrr.github.io/drat"
options(repos = r)
})
# littler does not read .Renviron, therefore do this here
Sys.setenv(LANGUAGE = "en")
Sys.setenv(R_CHECK_CRAN_INCOMING_REMOTE = "false")
Sys.setenv(NOT_CRAN = "true")
# For (re)installing PythonInR
Sys.setenv(USESPECIALPYTHONVERSION="python3")
if (interactive()) {
suppressMessages(require(reprex))
suppressMessages(require(usethis))
}
|