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

meik michalke meik.michalke at uni-duesseldorf.de
Tue Aug 30 00:11:50 CEST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.r-forge.r-project.org/pipermail/roxygen-devel/attachments/20110830/1aa07ddb/attachment.pgp>


More information about the Roxygen-devel mailing list