From 38abdc38251fac89bfcedc70ef607ac350a1baa1 Mon Sep 17 00:00:00 2001 From: Ronald Bergmann Date: Tue, 1 Aug 2023 02:53:34 +0200 Subject: [PATCH] pkgType=both fails on linux --- .Rprofile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.Rprofile b/.Rprofile index 604c348..47b4c1a 100644 --- a/.Rprofile +++ b/.Rprofile @@ -1,6 +1,8 @@ options(repos = c( -# RSPM = "https://packagemanager.posit.co/cran/latest", + RSPM = "https://packagemanager.posit.co/cran/latest", CRAN = "https://cran.r-project.org" )) -options(pkgType = "both") +if (.Platform$OS.type %in% c("windows", "mac", "darwin")) { + options(pkgType = "both") +} source("renv/activate.R")