miniCRAN | R package to create | Build Tool library
kandi X-RAY | miniCRAN Summary
kandi X-RAY | miniCRAN Summary
At the end of 2014, CRAN consisted of more than 6,000 packages, and by 2017 this number doubled to more than 12,000. Many organisations need to maintain a private mirror of CRAN, but with only a subset of packages that are relevant to them. The miniCRAN package makes it possible to create an internally consistent repository consisting of selected packages from CRAN-like repositories. The user specifies a set of desired packages, and miniCRAN recursively reads the dependency tree for these packages, then downloads only this subset.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of miniCRAN
miniCRAN Key Features
miniCRAN Examples and Code Snippets
Community Discussions
Trending Discussions on miniCRAN
QUESTION
I need to install multiple R packages on a server with restricted internet access, i.e all cran repositories are blocked. I created an offline miniCRAN repository which also includes dependencies which made it seem like a perfect fit.
The problem is that it seems like R makes calls with https to the local source folder to fetch it. And that seems to be blocked as well on the server.
How do I prevent the installation from accessing the local packages through http calls?
(This process works on a similar server without the same network restrictions)
...ANSWER
Answered 2021-Nov-16 at 09:40My bad. The script should look like this:
QUESTION
I have a package metagam
which is on CRAN, and it passes all of CRAN's automated tests. However, the package depends on the Bioconductor package multtest
through the chain of dependencies metagam
<- metap
<- mutoss
<- multtest
. This is visualized below for the dependencies of the metap
package.
ANSWER
Answered 2020-Jun-20 at 14:40Because Bioconductor has twice-yearly releases, and this differs from CRAN release practices, the 'right' thing to do is to use Bioconductor tools to install your package, so BiocManager::install("metap")
. It does not matter that metap is a CRAN package. BiocManager installs the correct version of the Bioconductor package for the user's version of R.
If this solution isn't palatable, then the next-best right thing to do is to adjust your dependencies to avoid direct or indirect dependencies on Bioconductor packages.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install miniCRAN
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page