[Roxygen-devel] useDynLib in namespace file?

Daniel Sabanés Bové daniel.sabanesbove at gmx.net
Sat May 9 22:10:29 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

first of all: thanks for this wonderful tool!! I think it is much
better to have just one place for documenting objects, rather than
in-code documentation and Rd files which you have to update manually.
And I love the @include tags, I have looked for them recently and
finally found them in roxygen by chance.

The situation:
I have some C code which I'm loading into my R package using a
useDynLib(myPackage, .registration=TRUE)
directive in the NAMESPACE file.

My question:
Is there a way to have this line there *and* use roxygen at the same
time for the namespace creation?
If not, any suggestion for a workaround? (perhaps an .onLoad function?)

Thanks,
Daniel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEAREKAAYFAkoF4zQACgkQnhBrrSA4m1EHlgCeOD/FWibtC2l5EpJePtyeU0qg
dR0AoKL/QNojUHE96LKQXD4yCIoF5dI+
=J+xD
-----END PGP SIGNATURE-----



More information about the Roxygen-devel mailing list