[Roxygen-devel] Roxygen2 4.0.0 - pre release

Hadley Wickham h.wickham at gmail.com
Thu Mar 13 21:57:38 CET 2014


On Thu, Mar 13, 2014 at 12:02 PM, Timothy Bates
<timothy.c.bates at gmail.com> 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 open file './man/figures': Is a directory
>
>
> In general, errors with suggestions would be great :-)
>
> Like "Doesn't look like a package: Perhaps you need to cd into a the Roxygen
> folder?" or whatever

How about: "This directory doesn't look like a package. Are you sure
that you're in the right directory?"

Hadley


-- 
http://had.co.nz/


More information about the Roxygen-devel mailing list