[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

The open BH / r-cran-bh question



Hi all,

Something that has come up once or twice is what to do with BH. It is a large
CRAN package (which I maintain / co-authored) which has been helpful for R as
it offers Boost _headers_ (no linking) in a cross-platform way.  But it is
big:

  edd@rob:~/git/bh(master)$ ls -lh BH_1.66.0-1.tar.gz 
  -rw-r--r-- 1 edd edd 11M Feb 12 12:38 BH_1.66.0-1.tar.gz
  edd@rob:~/git/bh(master)$ du -csh /usr/local/lib/R/site-library/BH/
  145M    /usr/local/lib/R/site-library/BH/
  145M    total
  edd@rob:~/git/bh(master)$ 

We could

- just say 'shucks' and package it (and once again 'shadow' a library
we alreday have).

- Or we could do what we currently do (and edit it out and add
libboost-all-dev to Build-Depends).

- Or we could do a hybrid as I once did to help another deployment--a virtual
package doing the depending on libboost*-dev.

A trial ballon for that last approach is at
   https://github.com/eddelbuettel/pkg-r-cran-bh

One problem with the latter approach may arise when BH is more recent than
Debian's boost (as right now).  That is not always the case; at time in the
past I even used the Debian sources as sources for BH.

Thoughts?

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org


Reply to: