[Roxygen-devel] A few roxygen improvements

Hadley Wickham hadley at rice.edu
Thu Sep 10 18:07:56 CEST 2009


Patches attached:

 1.  Don't switch working directories in collate.R

 2.  Use lapply instead of map, and eliminate some do.calls - this
decreases the stack depth and makes profiling much easier

 3.  Currently roxygen performs an exhaustive walk of function
expressions when it really only needs to get the assignee and formals.
 This patch is a quick (hacky) way to get just the info needed, and
speeds roxygen up 3 fold.

Hadley

-- 
http://had.co.nz/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-switch-working-directories.-Make-post.files-a.patch
Type: application/octet-stream
Size: 1783 bytes
Desc: not available
Url : http://lists.r-forge.r-project.org/pipermail/roxygen-devel/attachments/20090910/6f2a2d02/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Use-lapply-instead-of-map-and-eliminate-do.call-whe.patch
Type: application/octet-stream
Size: 2133 bytes
Desc: not available
Url : http://lists.r-forge.r-project.org/pipermail/roxygen-devel/attachments/20090910/6f2a2d02/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Quick-and-dirty-parse.call-3x-speedup.patch
Type: application/octet-stream
Size: 3691 bytes
Desc: not available
Url : http://lists.r-forge.r-project.org/pipermail/roxygen-devel/attachments/20090910/6f2a2d02/attachment-0005.obj 


More information about the Roxygen-devel mailing list