ARTIFACTORY: Why Cran packages can’t be resolved by a user with “@” in the name

ARTIFACTORY: Why Cran packages can’t be resolved by a user with “@” in the name

AuthorFullName__c
Andrew Roellig
articleNumber
000006094
ft:sourceType
Salesforce
FirstPublishedDate
2024-05-15T07:45:38Z
lastModifiedDate
2024-05-15
VersionNumber
1

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.