]> git.donarmstrong.com Git - cran2deb.git/blob - tags/gsoc_final/inst/doc/README
start allowing for local user cache configuration
[cran2deb.git] / tags / gsoc_final / inst / doc / README
1 To install:
2
3 $ cd ..
4 $ R CMD INSTALL cran2deb
5
6 copy cran2deb/exec/cran2deb into somewhere in your executable path (e.g.,
7 /usr/local/bin, $home/bin)
8
9
10
11 To configure:
12
13 1. You need a web server serving from say, /var/www/cran2deb/
14
15 Let ROOT be the value returned by running: cran2deb root
16
17 2. ROOT/var/archive should be a symlink pointing to /var/www/cran2deb/
18     $ rm ROOT/var/archive
19     $ ln -s /var/www/cran2deb/ ROOT/var/archive
20 3. modify OTHERMIRROR of ROOT/etc/pbuilderrc.in to point to your webserver
21 4. cran2deb needs a persistent cache outside of R's control. therefore, create
22     /var/cache/cran2deb, writable by whichever user(s) will run cran2deb.
23 5. run: cran2deb update
24 6. Try building a simple package: cran2deb build zoo
25    (The result will be in /var/cache/cran2deb/results)
26
27
28
29 Useful commands:
30 cran2deb build <foo>
31
32 cran2deb autobuild
33  - tries to build everything in the database that is out of date or failed on last build.
34
35 cran2deb license
36  - license console for adding new licenses. see ROOT/data/populate_licenses for examples
37
38 cran2deb depend
39  - dependency console for adding more dependencies, forced dependencies, system requirement patterns, and aliases.
40     see ROOT/data/populate_depend_aliases
41                   populate_forcedep
42                   populate_sysreq
43
44 cran2deb update
45  - update the various caches and databases from the latest cran2deb static data, CRAN/BioC repos, and Debian
46  repos (for the pbuilder chroot)
47