]> git.donarmstrong.com Git - cran2deb.git/commitdiff
make r_bundle_of() a null-op as there are no more bundles in R 2.11.0
authoredd <edd@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 29 May 2010 14:12:47 +0000 (14:12 +0000)
committeredd <edd@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Sat, 29 May 2010 14:12:47 +0000 (14:12 +0000)
git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@305 edb9625f-4e0d-4859-8d74-9fd3b1da38cb

trunk/R/rdep.R

index 141453b80b90ca929d17aab48b9b314e065bdce0..bf2fa384002345027f180cdea84aacee6489e9d0 100644 (file)
@@ -1,5 +1,9 @@
 
 r_bundle_of <- function(pkgname) {
+    return(NULL) ## there are no more bundles as of R 2.11.0
+
+    ## -- old code below, never reached
+    ##
     # returns the bundle containing pkgname or NA
     bundles <- names(available[!is.na(available[, 'Bundle']), 'Contains'])
     # use the first bundle