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

Hadley Wickham hadley at rice.edu
Tue Aug 30 15:36:10 CEST 2011


Fixed in https://github.com/klutometis/roxygen/commit/4ccbb3e21bf17f561ad5ba0aee337fe3b559a279.
 Thanks!
Hadley

On Mon, Aug 29, 2011 at 5:11 PM, meik michalke
<meik.michalke at uni-duesseldorf.de> wrote:
> hi,
>
> am Montag 29 August 2011 (15:44) schrieb Hadley Wickham:
>> Ok, doesn't look like I'll have any time in the short term.  Could you
>> please file a bug report at
>> https://github.com/klutometis/roxygen/issues?
>
> i think can do better ;-)
>
> <patch>
> --- R/roclet-namespace.R.orig   2011-08-29 23:52:59.648650390 +0200
> +++ R/roclet-namespace.R        2011-08-29 23:52:59.708649243 +0200
> @@ -137,7 +137,7 @@
>   ns_directive('exportClasses', parms)
>  }
>  ns_exportMethod <- function(tag, parms, all) {
> -  ns_directive('exportMethods', parms)
> +  ns_directive('exportMethods', quote_if_needed(parms))
>  }
>  ns_export <- function(tag, parms, all) {
>   if (!is.null.string(parms)) {
> </patch>
>
> works for me.
>
>
> viele grüße :: m.eik
>
> --
> dipl. psych. meik michalke
> institut f"ur experimentelle psychologie
> abt. f"ur diagnostik und differentielle psychologie
> heinrich-heine-universit"at d-40204 d"usseldorf
>



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


More information about the Roxygen-devel mailing list