From edd @end|ng |rom deb|@n@org  Thu Aug 12 21:40:11 2021
From: edd @end|ng |rom deb|@n@org (Dirk Eddelbuettel)
Date: Thu, 12 Aug 2021 14:40:11 -0500
Subject: [Rd] 
 Rprofile.site function or variable definitions break with R 4.1
In-Reply-To: <YRV0UJKvLRRuqrNr@piskorski.com>
References: <YRV0UJKvLRRuqrNr@piskorski.com>
Message-ID: <24853.31003.846696.955115@rob.eddelbuettel.com>


On 12 August 2021 at 15:19, Andrew Piskorski wrote:
| Ok, but what's the recommended way to actually USE Rprofile.site now?
| Should I move all my local configuration into a special package, and
| do nothing in Rprofile.site except require() that package?

Exactly as before. I set my mirror as I have before and nothing changes

  ## We set the cloud mirror, which is 'network-close' to everybody, as default
  local({
      r <- getOption("repos")
      r["CRAN"] <- "https://cloud.r-project.org"
      options(repos = r)
  })

I cannot help but think that you are shooting the messenger (here
Rprofile.site) for an actual behaviour change in R itself ?

Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



[Rd] Rprofile.site function or variable definitions break with R 4.1
Dirk Eddelbuettel