[Roxygen-devel] error exporting "thisName<-" functions

Hadley Wickham hadley at rice.edu
Sun Aug 21 15:04:40 CEST 2011


>> As far as I can tell that's what roxygen produces for me already - I
>> just added a test to verify it.  Are you sure you have the latest
>> version (2.1) ?
>
> positive:
>
>  > packageVersion("roxygen2")
>  [1] ‘2.1’
>
> however, when i roxygenize this small package
>  o http://R.reaktanz.de/src/contrib/XiMpLe_0.01-4.tar.gz
>
> i get this in the created NAMESPACE file:
>
>  exportClasses(XiMpLe.doc)
>  exportClasses(XiMpLe.node)
>  exportMethods(node<-)
>  exportMethods(node)
>  export(parseXMLTree)
>  export(pasteXMLTag)
>  export(rk.write.about)

Thanks for the reproducible example - the critical detail seems to be
that you're exporting a generic.  I'll look into it.

Hadley


-- 
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/


More information about the Roxygen-devel mailing list