[Roxygen-commits] r89 - in pkg: . R tests/runit

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jul 25 07:11:21 CEST 2008


Author: pcd
Date: 2008-07-25 07:11:20 +0200 (Fri, 25 Jul 2008)
New Revision: 89

Modified:
   pkg/DESCRIPTION
   pkg/R/collate.R
   pkg/tests/runit/runit.collate.R
Log:
quote collation items in case of spaces in filenames


Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION	2008-07-25 05:07:28 UTC (rev 88)
+++ pkg/DESCRIPTION	2008-07-25 05:11:20 UTC (rev 89)
@@ -7,4 +7,4 @@
         Manuel Eugster <Manuel.Eugster at stat.uni-muenchen.de>
 Maintainer: Peter Danenberg <pcd at roxygen.org>
 URL: http://roxygen.org
-Collate: functional.R string.R parse.R collate.R list.R roclet.R namespace.R Rd.R
+Collate: 'functional.R' 'string.R' 'parse.R' 'collate.R' 'list.R' 'roclet.R' 'namespace.R' 'Rd.R'

Modified: pkg/R/collate.R
===================================================================
--- pkg/R/collate.R	2008-07-25 05:07:28 UTC (rev 88)
+++ pkg/R/collate.R	2008-07-25 05:11:20 UTC (rev 89)
@@ -72,7 +72,8 @@
 
   post.files <-
     function() cat('Collate:',
-                   Reduce.paste(function(vertex) vertex$file,
+                   Reduce.paste(function(vertex)
+                                sprintf("'%s'", vertex$file),
                                 topological.sort(vertices),
                                 ' '),
                    '\n',

Modified: pkg/tests/runit/runit.collate.R
===================================================================
--- pkg/tests/runit/runit.collate.R	2008-07-25 05:07:28 UTC (rev 88)
+++ pkg/tests/runit/runit.collate.R	2008-07-25 05:11:20 UTC (rev 89)
@@ -9,9 +9,9 @@
                                           'runit/collate/tie.R',
                                           'runit/collate/undershorts.R',
                                           'runit/collate/watch.R')),
-              paste('Collate: runit/collate/undershorts.R',
-                    'runit/collate/pants.R runit/collate/belt.R',
-                    'runit/collate/shirt.R runit/collate/tie.R',
-                    'runit/collate/jacket.R runit/collate/socks.R',
-                    'runit/collate/shoes.R runit/collate/watch.R'))
+              paste("Collate: 'runit/collate/undershorts.R'",
+                    "'runit/collate/pants.R' 'runit/collate/belt.R'",
+                    "'runit/collate/shirt.R' 'runit/collate/tie.R'",
+                    "'runit/collate/jacket.R' 'runit/collate/socks.R'",
+                    "'runit/collate/shoes.R' 'runit/collate/watch.R'"))
 }



More information about the Roxygen-commits mailing list