[Roxygen-devel] useDynLib when using roxygen2

Rainer M Krug r.m.krug at gmail.com
Wed Sep 28 13:15:46 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I have a package which needs a useDynLib() in the NAMESPACE file.
I am using roxygenize as follow:

Rscript -e "library(roxygen2);roxygenize('pkg', roxygen.dir='pkg',
copy.package=FALSE, unlink.target=FALSE)"

and the NAMESPACES is correctly created (including the export() as
requested by the @export tag), but how can I add the useDynLib? I
remember reading somewhere that I can use a tag - but which one?

Thanks,

Rainer


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6DAeEACgkQoYgNqgF2egqPzQCfafmnr896skhJSMUMRaqmvtiC
ZOAAniSyWoh/4Ili/5lKhW8CxMdy/DtZ
=4XJc
-----END PGP SIGNATURE-----


More information about the Roxygen-devel mailing list