[Roxygen-devel] Roxygen2 4.0.0 - pre release

Hadley Wickham h.wickham at gmail.com
Wed Mar 19 17:55:25 CET 2014


On Wed, Mar 19, 2014 at 11:53 AM, Timothy Bates
<timothy.c.bates at gmail.com> 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: Failure in roxygen block at build_twin.r:1
> @result, is an unknown key
>
> Line 1 is commented out... The only place @result occurs is on line 69 of
> that file.
>
> #' x = rbind(satModel$top.expMeanMZ at result, satModel$top.expMeanDZ at result)
>
> So, two questions. what does the error "unknown key" mean? and why is the
> error for line 1?

Unknown key means that roxygen doesn't know what @result means - maybe
you meant to use # instead of #' ?

Unfortunately I can only localise errors to the block in which they
occurred, not the specific line.

Hadley

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


More information about the Roxygen-devel mailing list