[inlinedocs] slow package.skeleton.dx(), probably because of extract.file.parse()

Toby Dylan Hocking Toby.Hocking at inria.fr
Fri Nov 12 10:22:27 CET 2010


an idea: do you need the extra.code.code Parser Function for that
package? If not, you can disable it by putting something like this in
pkgdir/R/.inlinedocs.R

parsers <- default.parsers[names(default.parsers)!="extra.code.docs"]

if you do need that Parser Function, then the only solution is to
speed up the code. maybe so we can test different implementations and
possible speedups, could you upload your package code to
inlinedocs/pkg/inlinedocs/etc/ 

Also another idea is to use SVN to go back to a version that is
sufficiently fast, then try to figure out what has happened since then
that makes it slow.

In any case if you end up getting an implementation that speeds up the
package (and it still passes all the tests when you run R CMD check),
please commit to SVN.


More information about the Inlinedocs-support mailing list