Configuring Your R Client:

ARTIFACTORY: Resolving Local CRAN Archives in Artifactory

AuthorFullName__c
Fadi Rouhana
articleNumber
000006037
ft:sourceType
Salesforce
FirstPublishedDate
2024-02-25T07:27:01Z
lastModifiedDate
2024-02-25
VersionNumber
1
First, ensure your R client is configured to point to Artifactory by adding the following lines to your RProfile.site file:
local({
    r <- list("cran-local" = "http://admin:<PASSWORD>@<JFROG_URL>/artifactory/cran-local/")
    options(repos = r)
})
Replace <PASSWORD> and <JFROG_URL> with your actual Artifactory credentials and URL. In this example, the “cran-local” stands for the local CRAN repository name in Artifactory.