1
votes

Roxygen works fine from within R, but for some reason it craps out when I try to call it from the command line. Noticed a similar complaint from someone on windows (this thread: R CMD roxygen not recognized) but I'm on a nix box right now. Tried installing from source (install.packages("roxygen", type="source")) no dice there.

Thoughts?

1
Maybe you need to load the library before calling roxygen()? - Roman Luštrik
My understanding was that it would show up as one of the CMD in the list R CMD --help.. In any case, I just wrote another little script and used R CMD BATCH instead. - Brandon Bertelsen
Only works with linux source installs and even then is fragile. No longer supported in roxygen2. - hadley
@hadley I'm reporting the problem from Ubuntu 11.04. "Fragile", got it. - Brandon Bertelsen

1 Answers

1
votes

This question doesn't have an answer as the package it is questioning is essentially deprecated.

Use roxygen2 instead and write a shell script to roxygenize code from within R at the time of packaging.