[Roxygen-devel] Roxygen tries to parse sysdata.rda from R directory.

Vitalie Spinu spinuvit at gmail.com
Thu Jul 21 15:46:53 CEST 2011


Dear Roxygen Developers,

As noted in Writing R extensions manual
(http://cran.r-project.org/doc/manuals/R-exts.html#Non_002dR-scripts-in-packages)
R source directory can contain binary sysdata.rda file with system
variables.

While trying to run 'roxygenize' when such a file is present, I run
into an error:

Error in parse(srcfile$filename, srcfile = srcfile) :
  sysdata.rda:3:1: unexpected $end

That means that an additional step of copying sydata.rda to roxygen
generated directory is required each time it runs. Would it be
possible to have an option  to skip parsing some files?

This also would be useful for S4 class definition files, since Roxygen
still handling them with difficulty.

Many thanks,
Vitalie.


sessionInfo()
R version 2.13.0 (2011-04-13)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United
States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] tools     stats     datasets  grDevices grid      utils
graphics  methods   base

other attached packages:
 [1] roxygen_0.1-2       digest_0.5.0        betfair_1.0
XML_3.4-0.2
 [5] RCurl_1.6-6.1       bitops_1.0-4.1      fortunes_1.4-1
latticeExtra_0.6-18
 [9] lattice_0.19-30     RColorBrewer_1.0-5  ggplot2_0.8.9
proto_0.3-9.2
[13] reshape_0.8.4       plyr_1.5.2

loaded via a namespace (and not attached):
[1] XMLSchema_0.1-6
>


More information about the Roxygen-devel mailing list