[R-pkg-team] Bug#900974: r-cran-hmisc: Missing Depends: r-cran-foreign, r-cran-nnet

Andreas Tille tille at debian.org
Thu Jun 7 13:25:35 BST 2018


Package: r-cran-hmisc
Severity: grave
Tags: patch
Justification: renders package unusable

Hi,

the package is lacking

   Depends: r-cran-foreign, r-cran-nnet

I've attached a debdiff which I created using dh-update-R which fixes
the issue.  Please note that the debdiff contains

   Testsuite: autopkgtest-pkg-r

An activated autopkgtest easily uncovers missing Depends.

Kind regards

     Andreas.


-- System Information:
Debian Release: 9.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-5-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages r-cran-hmisc depends on:
ii  libc6                2.24-11+deb9u1
pn  libgfortran3         <none>
ii  libquadmath0         6.3.0-18+deb9u1
pn  r-api-3              <none>
pn  r-base-core          <none>
pn  r-cran-acepack       <none>
pn  r-cran-base64enc     <none>
pn  r-cran-chron         <none>
pn  r-cran-cluster       <none>
pn  r-cran-data.table    <none>
pn  r-cran-formula       <none>
pn  r-cran-ggplot2       <none>
pn  r-cran-gridextra     <none>
pn  r-cran-gtable        <none>
pn  r-cran-htmltable     <none>
pn  r-cran-htmltools     <none>
pn  r-cran-lattice       <none>
pn  r-cran-latticeextra  <none>
pn  r-cran-rpart         <none>
pn  r-cran-survival      <none>
pn  r-cran-viridis       <none>

r-cran-hmisc recommends no packages.

r-cran-hmisc suggests no packages.
-------------- next part --------------
diff -u hmisc-4.1-1/debian/changelog hmisc-4.1-1/debian/changelog
--- hmisc-4.1-1/debian/changelog
+++ hmisc-4.1-1/debian/changelog
@@ -1,3 +1,11 @@
+hmisc (4.1-1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * d/control: Fixing dependencies by using dh-upgrade-R
+  * d/rules: use dh-r
+
+ -- Andreas Tille <tille at debian.org>  Thu, 07 Jun 2018 13:51:56 +0200
+
 hmisc (4.1-1-1) unstable; urgency=medium
 
   * New upstream release
diff -u hmisc-4.1-1/debian/control hmisc-4.1-1/debian/control
--- hmisc-4.1-1/debian/control
+++ hmisc-4.1-1/debian/control
@@ -1,18 +1,43 @@
 Source: hmisc
+Maintainer: Dirk Eddelbuettel <edd at debian.org>
 Section: gnu-r
+Testsuite: autopkgtest-pkg-r
 Priority: optional
-Maintainer: Dirk Eddelbuettel <edd at debian.org>
-Build-Depends: debhelper (>= 7.0), r-base-dev (>= 3.4.3), cdbs, r-cran-chron, r-cran-lattice, r-cran-cluster, r-cran-survival, r-cran-rpart, r-cran-formula, r-cran-latticeextra, r-cran-nnet, r-cran-foreign, r-cran-acepack, r-cran-ggplot2 (>= 2.0.0), r-cran-gridextra, r-cran-data.table, r-cran-htmltools, r-cran-gtable, r-cran-viridis, r-cran-htmltable, r-cran-base64enc
-Standards-Version: 4.1.1
+Build-Depends: debhelper (>= 11~),
+               dh-r,
+               r-base-dev,
+               r-cran-chron,
+               r-cran-lattice,
+               r-cran-cluster,
+               r-cran-survival,
+               r-cran-rpart,
+               r-cran-formula,
+               r-cran-latticeextra,
+               r-cran-nnet,
+               r-cran-foreign,
+               r-cran-acepack,
+               r-cran-ggplot2 (>= 2.0.0),
+               r-cran-gridextra,
+               r-cran-data.table,
+               r-cran-htmltools,
+               r-cran-gtable,
+               r-cran-viridis,
+               r-cran-htmltable,
+               r-cran-base64enc
+Standards-Version: 4.1.4
 Homepage: http://biostat.mc.vanderbilt.edu/s/Hmisc
 
 Package: r-cran-hmisc
 Architecture: any
-Replaces: r-noncran-hmisc
+Depends: ${R:Depends},
+         ${shlibs:Depends},
+         ${misc:Depends}
+Recommends: ${R:Recommends}
+Suggests: ${R:Suggests}
 Conflicts: r-noncran-hmisc
 Provides: r-noncran-hmisc
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${R:Depends}, r-cran-chron, r-cran-lattice, r-cran-cluster, r-cran-survival, r-cran-formula, r-cran-rpart, r-cran-latticeextra, r-cran-acepack, r-cran-ggplot2, r-cran-gridextra, r-cran-data.table, r-cran-htmltools, r-cran-gtable, r-cran-viridis, r-cran-htmltable, r-cran-base64enc
-Description: GNU R miscellaneous functions by Frank Harrell 
+Replaces: r-noncran-hmisc
+Description: GNU R miscellaneous functions by Frank Harrell
  The Hmisc library contains many functions useful for data
  analysis, high-level graphics, utility operations, functions for
  computing sample size and power, translating SAS datasets,
diff -u hmisc-4.1-1/debian/rules hmisc-4.1-1/debian/rules
--- hmisc-4.1-1/debian/rules
+++ hmisc-4.1-1/debian/rules
@@ -2,6 +2,3 @@
-# 							-*- makefile -*-
-# debian/rules file for the Debian/GNU Linux r-cran-hmisc package
-# Copyright 2003 - 2017 by Dirk Eddelbuettel <edd at debian.org>
-
-include /usr/share/R/debian/r-cran.mk
 
+%:
+	dh $@ --buildsystem R


More information about the R-pkg-team mailing list