On Thu, Mar 13, 2014 at 12:02 PM, Timothy Bates
<timothy.c.ba...@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/
_______________________________________________
Roxygen-devel mailing list
Roxygen-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/roxygen-devel

Reply via email to