[Roxygen-devel] suggested fix for useDynLib in roxygen2
Hadley Wickham
hadley at rice.edu
Wed Sep 21 21:39:44 CEST 2011
Hi Daniel,
Would you mind filing a bug at https://github.com/klutometis/roxygen?
That way it will get fixed when we start preparing for the next
version of roxygen.
Hadley
2011/9/8 Daniel Sabanés Bové <daniel.sabanesbove at ifspm.uzh.ch>:
> Hi,
>
> I have switched to roxygen2, which is a lot faster than roxygen it
> seems. Thanks to everybody responsible for this new implementation!
>
> The useDynLib tag made some problems, however. In order to make it work
> as in the good old roxygen, I changed line 103 of R/roclet-namespace.R
> and replaced ns_default with ns_collapse, which is in diff language:
>
> diff roclet-namespace.R roclet-namespace.R~
>
> 103c103
> < process_tag(partitum, 'useDynLib', ns_collapse)
> ---
>> process_tag(partitum, 'useDynLib', ns_default)
>
>
> Before that, I got
>
> useDynLib(packageName)
> useDynLib(routine1)
> useDynLib(routine2)
> etc.
>
> in NAMESPACE instead of
>
> useDynLib(packageName, routine1, routine2, ...)
>
> Best regards,
> Daniel
> _______________________________________________
> Roxygen-devel mailing list
> Roxygen-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/roxygen-devel
>
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
More information about the Roxygen-devel
mailing list