Comments (3)
@benmarwick Apologies for not responding sooner. switchr and GRANBase are not focused on capturing package sources locally for installation later. In fact, the manifest design is specifically intended to not require that (though I admit it does require internet access, which other solutions such as packrat do not).
The model here is to publish a manifest, e.g. as a gist, and then you or others install from that manifest as necessary.
That said, what you want should be possible with makeRepo from the API_refactor branch in this repository (which I hope to merge as a major update to master sometime this week), via the code:
man = libManifest() # get our manifest of installed pkgs
param = RepoBuildParam(basedir = <dir>, install_test = FALSE, check_test = FALSE)
repo = GRANRepository(manifest = man, param = param)
makeRepo(repo)
That currently won't work due to a bug writing this up discovered, but I will track that down and fix that shortly. Once it works, that will create a fully local package repository containing the contents of the manifest.
Thanks for your interest, and I will keep you abreast of bug squashing, etc via comments here.
from gran.
Thanks very much for looking over my example and the further explanation, that's very helpful. I look forward to testing the makeRepo
function when it gets to the master branch.
from gran.
@benmarwick Apologies for the delay. The branch (API_refactor) that I
referred to in my previous comments has just been merged into master. Feel
free try the solution/code I suggested before at your convenience and let
me know if anything doesn't work.
Thanks,
~G
On Thu, Feb 5, 2015 at 12:35 PM, Ben Marwick [email protected]
wrote:
Thanks very much for looking over my example and the further explanation,
that's very helpful. I look forward to testing the makeRepo function when
it gets to the master branch.—
Reply to this email directly or view it on GitHub
#8 (comment).
Gabriel Becker, PhD
Computational Biologist
Bioinformatics and Computational Biology
Genentech, Inc.
from gran.
Related Issues (7)
- gRAN install fails on Ubuntu 14.04 with R 3.1 HOT 9
- normalizePath2 makes incorrect assumptions about path names in Windows HOT 2
- .to_gran_url stop can prevent useful subsequent functionality
- GRANonGRAN() tries to copy non-existent files HOT 1
- clear staging repo when builds start HOT 4
- Undocumented prerequisites HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gran.