Re: [Roxygen-devel] Roxygen2 4.0.0 - pre release

2014-03-21 Thread Hadley Wickham
How about instead of "Failure in roxygen block at build_twin.r:1" it said "Failure in roxygen block beginning build_twin.r:1" ? The advantage of using the slightly cryptic filename:linenumber format is that (eventually) IDEs like Rstudio will autolink it so that you can jump straight to the source

Re: [Roxygen-devel] Roxygen2 4.0.0 - pre release

2014-03-19 Thread Hadley Wickham
On Wed, Mar 19, 2014 at 11:53 AM, Timothy Bates wrote: > I'm getting an error running document() which is > >> devtools::document() > Updating umx.twin documentation > Loading umx.twin > Using the default option wrap = FALSE since it was not specified in the > Roxygen field in DESCRIPTION > Error:

Re: [Roxygen-devel] Roxygen2 4.0.0 - pre release

2014-03-13 Thread Hadley Wickham
On Thu, Mar 13, 2014 at 12:02 PM, Timothy Bates wrote: > If I cd into the directory of a package under devtools control, then this > result obtains > >> roxygen2::upgradeRoxygen() > Error in file(con, "w") : cannot open the connection > In addition: Warning message: > In file(con, "w") : cannot op

Re: [Roxygen-devel] Roxygen2 4.0.0 - pre release

2014-03-13 Thread Hadley Wickham
It's looking for a DESCRIPTION file in your working directory. Any chance you're running it from a different place? Hadley On Thu, Mar 13, 2014 at 10:39 AM, Timothy Bates wrote: > FYI, I installed, and ran the upgrade function, but got this error: > > devtools::install_github("klutometis/roxygen

[Roxygen-devel] Roxygen2 4.0.0 - pre release

2014-03-11 Thread Hadley Wickham
Hi all, I'm planning to push roxygen2 4.0.0 to CRAN in the next week or so. There are three main new features: * all outputs are flagged with a comment that indicates that roxygen2 produced them, and roxygen2 will not overwrite a file it didn't create. (This is the reason it's a major version bu