[Roxygen-devel] [roxygen2] roxygenise, setGeneric and .svn directory

Hadley Wickham hadley at rice.edu
Mon Aug 15 12:21:36 CEST 2011


>> Hard to know why you're getting these errors without a reproducible
>> example?
>
> you can try this:
>
>  mkdir -p /tmp/roxample/roxydir
>  cd /tmp/roxample/
>  svn co svn://scm.r-forge.r-project.org/svnroot/klausur/trunk/klausuR/
>
> then in R:
>
>  library(roxygen2)
>  roxygenize("/tmp/roxample/klausuR/", roxygen.dir="/tmp/roxample/roxydir/")

man : ls -lh .svn
total 8
-r--r--r--   1 hadley  wheel   3.4K Aug 15 10:16 entries
drwxr-xr-x   2 hadley  wheel    68B Aug 15 10:16 prop-base
drwxr-xr-x   2 hadley  wheel    68B Aug 15 10:16 props
drwxr-xr-x  23 hadley  wheel   782B Aug 15 10:16 text-base
drwxr-xr-x   5 hadley  wheel   170B Aug 15 10:16 tmp

So the entries directory does not have write permission by default.
Not sure what the right thing to do here is.


>> Is the a reason you're not roxygenising in place?
>
> well then, is there a reason why roxygen2 offers "roxygen.dir" in the first
> place?

For compatibility with roxygen.  I've always worked in place.

But why are you doing it?

Hadley

-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/


More information about the Roxygen-devel mailing list