Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sonatype Nexus proxy for CRAN packages?

Our organization uses Sonatype Nexus to manage artifacts, whether they're internally-hosted stuff we've developed, or proxies to other repositories like Apache or similar. Most stuff is JAR-based.

My group does most of its work in R, and we're wondering whether it makes sense to 1) deploy our internal code as R packages in Nexus, and 2) create a proxy to a CRAN mirror in Nexus. I guess this would take some glue code, but I'm not very cozy with Nexus, so I'm not really sure what that would look like. Ideally it would let us install R packages by hitting Nexus directly, rather than downloading first & manually installing afterwards.

Anyone have suggestions or precedent?

like image 919
Ken Williams Avatar asked Feb 06 '13 16:02

Ken Williams


People also ask

What is sonatype Nexus used for?

Nexus by Sonatype is a repository manager that organizes, stores and distributes artifacts needed for development.

Is sonatype nexus free?

Nexus Vulnerability Scanner OSS Index is a free catalogue of open source components and scanning tools to help developers identify vulnerabilities, understand risk, and keep their software safe.

Can Nexus 2 be migrated to Nexus 3 True or false?

Yes it supports this.


2 Answers

Since NXRM 3.20.0 support for CRAN is offered in the default install thanks to Sonatype adopting the below mentioned community plugin.

For older NXRM release the Nexus Community has a plugin that adds support for CRAN repositories. You can find it on GitHub to install yourself.

like image 142
Dawid Sawa Avatar answered Oct 12 '22 14:10

Dawid Sawa


Nexus now natively supports R packages as of version 3.20

Check out the release notes: https://help.sonatype.com/repomanager3/formats/r-repositories#RRepositories-RRepositoryGroups

I was able to create R repo's with the same automation.

like image 45
aidanmelen Avatar answered Oct 12 '22 13:10

aidanmelen