On Wed, Mar 19, 2014 at 11:53 AM, Timothy Bates
<timothy.c.ba...@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@result, satModel$top.expMeanDZ@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/
_______________________________________________
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