While resolving Cran packages it is not allowed to use a user(such as a SAML user) that has “@” in the username.
This is due to a Cran issue as described here. Therefore if you get an error like the one below:
Warning: unable to access index for repository https://<username with “@”:<token>@<jfrogurl>/artifactory/test-cran-repo/src/contrib:
cannot open URL 'https://<username with “@”:<token>@<jfrogurl>/artifactory/test-cran-repo/src/contrib:/PACKAGES'
It is worth checking to see if the user you are using has @ in the username.
If it does as a workaround you can use another user without “@” in the username.