]> git.donarmstrong.com Git - cran2deb.git/blobdiff - pkg/trunk/R/debianpkg.R
exec: drop bioc, more verbose version mismatch error, switch hoc to awk (more portable)
[cran2deb.git] / pkg / trunk / R / debianpkg.R
index 171aa4d2af3116ee7174867eaeaa3b32e99e0497..956e187e663703169fca3377c184e326eaaaa137 100644 (file)
@@ -57,6 +57,8 @@ prepare_new_debian <- function(pkg,extra_deps) {
     if (pkg$version != available[pkg$name,'Version']) {
         # should never happen since available is the basis upon which the
         # package is retrieved.
+        error('available version:',available[pkg$name,'Version'])
+        error('package version:',pkg$version)
         fail('inconsistency between R package version and cached R version')
     }
     pkg$debversion = new_build_version(pkg$name)