[Rd] tools::package_native_routine_registration_skeleton?

Georgi Boshnakov georg|@bo@hn@kov @end|ng |rom m@nche@ter@@c@uk
Fri Jun 28 12:23:28 CEST 2019


> ... reports that the fortran names of all the registered fortran functions are “undocumented objects”...  

Those symbols should not be exported. In quantreg v5.33, NAMESPACE has 'exportPattern(".")'. Maybe it is a good time to remove that and export explicitly the symbols that are meant for export.

Georgi Boshnakov


------------------------------

Message: 6
Date: Fri, 28 Jun 2019 09:06:52 +0000
From: "Koenker, Roger W" <rkoenker using illinois.edu>
To: "r-devel using r-project.org" <r-devel using r-project.org>
Subject: [Rd] tools::package_native_routine_registration_skeleton?
Message-ID: <00702A4F-67B0-4B0C-A791-E72AF51C4F9C using illinois.edu>
Content-Type: text/plain; charset="utf-8"

I’m trying to sort out the consequences of adding registration for my quantreg package.
I’ve generated a quantreg_init.c file with the directive in the message title, and placed it
in my src directory.  The first issue is that 3 of the 20, or so registered functions have
the same name in fortran as the calling function in R.   This seems easy to fix.  More
puzzling is that R CMD check now reports that the fortran names of all the registered fortran
functions are “undocumented objects”.  Can someone point me to the officially sanctioned
way to deal with this:  presumably I don’t need to document them as if they were R functions.

Roger Koenker
r.koenker using ucl.ac.uk<mailto:r.koenker using ucl.ac.uk>
Department of Economics, UCL
London  WC1H 0AX.



	[[alternative HTML version deleted]]



------------------------------

Subject: Digest Footer

_______________________________________________
R-devel using r-project.org mailing list  DIGESTED
https://stat.ethz.ch/mailman/listinfo/r-devel


------------------------------

End of R-devel Digest, Vol 196, Issue 25
****************************************


More information about the R-devel mailing list