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

Re: Help making r-cran-rsqlite use Debian's sqlite3 (Was: Re: Bug#657919: ITP: r-cran-digest - Create cryptographic hash digests of R objects)



On Thu, Feb 02, 2012 at 01:46:12PM -0600, Dirk Eddelbuettel wrote:
> | # Require a number equal or superior than the R version the package
> | was built with.
> | install/r-$(debRreposname)-$(cranName)::
> | 	echo "R:Depends=r-base-core (>= $(shell R --version | head -n1 | perl
> | -ne 'print / +([0-9]\.[0-9]+\.[0-9])/')~)" >>
> | debian/r-$(debRreposname)-$(cranName).substvars
> 
> Nice substvars trick. I still do that part by hand in debian/control.

I remember when we started using this trick about 3 years ago (at least
my feeling says so) that Charles Plessy who invented this trick said
that you would not be particularly happy about this trick.  Otherwise it
would have been included into

   /usr/share/R/debian/r-cran.mk

If you might consider to enable this in this include file (perhaps as
an option) this would help us reducing code duplication in close to all
R packages of Debian Med team. 

Kind regards and thanks for considering

      Andreas.

-- 
http://fam-tille.de


Reply to: