From: Don Armstrong Date: Tue, 30 Apr 2013 23:18:09 +0000 (-0700) Subject: add the ${R:Depends} substvar to debian control X-Git-Url: https://git.donarmstrong.com/?p=cran2deb.git;a=commitdiff_plain;h=2391fe3b39ceef1cf0bdd335446df7572a95158f add the ${R:Depends} substvar to debian control --- diff --git a/trunk/R/debcontrol.R b/trunk/R/debcontrol.R index e8f8d32..68261f6 100644 --- a/trunk/R/debcontrol.R +++ b/trunk/R/debcontrol.R @@ -49,7 +49,7 @@ get_dependencies <- function(pkg,extra_deps,verbose=TRUE) { depends <- lapply(depends,unique) # append the Debian dependencies - depends$build=c(depends$build,'debhelper (>> 4.1.0)','cdbs') + depends$build=c(depends$build,'debhelper (>> 4.1.0)','cdbs','${R:Depends}') if (file.exists(file.path(patch_dir, pkg$name))) { depends$build <- c(depends$build,'dpatch') }