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.