[Roxygen-commits] r152 - in pkg: R sandbox
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Aug 3 21:56:09 CEST 2008
Author: pcd
Date: 2008-08-03 21:56:09 +0200 (Sun, 03 Aug 2008)
New Revision: 152
Modified:
pkg/R/description.R
pkg/sandbox/description.R
Log:
reverse DESCRIPTION fields
Modified: pkg/R/description.R
===================================================================
--- pkg/R/description.R 2008-08-03 01:30:53 UTC (rev 151)
+++ pkg/R/description.R 2008-08-03 19:56:09 UTC (rev 152)
@@ -39,7 +39,9 @@
}
}
continue(description)
- as.list(fields)
+ ## Reverse the fields, since they come out of the environment in
+ ## cons-order.
+ rev(as.list(fields))
}
#' Convenience function to call
Modified: pkg/sandbox/description.R
===================================================================
--- pkg/sandbox/description.R 2008-08-03 01:30:53 UTC (rev 151)
+++ pkg/sandbox/description.R 2008-08-03 19:56:09 UTC (rev 152)
@@ -5,4 +5,5 @@
source('../R/description.R')
parser <- make.description.parser()
+## parser$parse(parse.description.file('../DESCRIPTION'))
description.dependencies('../DESCRIPTION')
More information about the Roxygen-commits
mailing list