On 2 November 2021 at 15:43, Andrea Pappacoda wrote:
| Source: r-cran-tzdb
| Severity: normal
| 
| -----BEGIN PGP SIGNED MESSAGE-----
| Hash: SHA256
| 
| Dear Maintainer,
| 
| I'm currently working to package the "date" library from Howard Hinnant, you
| can see the ITP here: https://bugs.debian.org/895222 (for more information,
| take a look at the RFS).
| 
| I noticed that this package embeds the date library, which is not good. How 
can
| we solve the issue? Could you patch this package to use the libhowardhinnant-
| date-dev package instead of bundling its own version?

That is not uncommon with R packages (and has been discussed e.g. on the
Debian R team mailing list). I am also an R package author, and as R packages
on R have a different distribution focus ("horizontal": win, mac, many linux
distros) embedding headers is popular.

In fact, Hinnant's Date has been on CRAN longer, for example in my own
RcppDate package wrapping just it -- and it is somewhat sad the `tzdb` author
(at CRAN) did not reuse it. Oh well.

I am not planning to patch the CRAN packages right now. Such divergence is
more likely a source of bugs and not worth my time.  The Debian R team, last
I checked, shares this view.  A little bit of duplication can be tolerated.

I may (at a later date) look into making RcppDate more flexible but given
that it is a header library ... there is not so much to gain.  As for tzdb
you will have to ask its author.

And eventually all this will be moot as Hinnant's library will be part of the
C++ library ...

(And there are counterexamples, and I have for example helped the nloptr
package (on CRAN) to use a system libnlopt when found rather than
unconditionally download and building.)

Dirk

| 
| Thanks
| 
| 
| - -- System Information:
| Debian Release: bookworm/sid
|   APT prefers testing
|   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
| Architecture: amd64 (x86_64)
| Foreign Architectures: i386
| 
| Kernel: Linux 5.14.0-2-amd64 (SMP w/4 CPU threads)
| Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
| Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not 
set
| Shell: /bin/sh linked to /usr/bin/dash
| Init: systemd (via /run/systemd/system)
| LSM: AppArmor: enabled
| 
| -----BEGIN PGP SIGNATURE-----
| 
| iIoEARYIADIWIQRm3vFSgpkMIZnvqAGooSioqxzuSQUCYYFOexQcYW5kcmVhQHBh
| cHBhY29kYS5pdAAKCRCooSioqxzuSX4dAQC1O1KvA5Ew3JP2WZVCoqRBtERYbSN2
| RCmkYbB0fsyMtAD/c2yPo9/cGXFFkpm1MPM3XHGoPloePqWPQayASHnwcQY=
| =RMT6
| -----END PGP SIGNATURE-----

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

Reply via email to