Re: [Rd] Demo for linking native routines between R packages
Hi David, On Wed, Jan 6, 2021 at 4:00 AM Jitao David Zhang wrote: > > Dear Davis, Dirk, Jan, and r-devel subscribers, > > I hope you have had a good start in the new year. > > For your information: I have updated the GitHub repository to demonstrate > linking native routines between R packages ( > https://github.com/Accio/demo-linking-native), especially by listing the > prior art and the project by Davis to give the readers more background and > history of the topic. And I took the liberty to acknowledge your > contribution, criticism and help to improve this baby project. > > In any case, I wish there is a link from WRE to a small demo (not > necessarily mine!) where linking native routine is implemented in a > minimalistic example for teaching and demonstration purposes. That will > help people a lot in my opinion. > R-core will probably be reluctant to link to an external example they have very little control over. For example, what if the process changes and the external source doesn't get updated? That said, WRE does list two packages that register native routines from other packages: https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Linking-to-native-routines-in-other-packages I'd be open to including a vignette in xts that discusses the process of linking to zoo. That would have the benefit of needing to be updated if the process changes. We can discuss off-list if you're interested in collaborating on it. > Best regards, > David > > -- > Jitao David Zhang > > http://jdzhang.me/ > m...@jdzhang.me > > Schützengasse 20 > 4125 Riehen, Switzerland > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Demo for linking native routines between R packages
On Sat, Jan 9, 2021 at 4:45 PM Joshua Ulrich wrote: [...] > > That said, WRE does list two packages that register native routines > from other packages: > > https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Linking-to-native-routines-in-other-packages > > There are a bunch more, see here: https://github.com/search?q=org%3Acran+R_RegisterCCallable&type=code Here is another very minimal example: https://github.com/DavisVaughan/cexport#cexport Gabor [...] [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] URL checks
The idea of 'white lists' to prevent known (and 'tolerated') issues, note, warnings, ... from needlessly reappearing is very powerful and general, and can go much further than just URL checks. I suggested several times in the past that we can look at the format Debian uses in its 'lintian' package checker and its override files -- which are used across thousands of packages there. But that went nowhere so I stopped. This issue needs a champion or two to implement a prototype as well as a potential R Core / CRAN sponsor to adopt it. But in all those years no smoke has come out of any chimneys so ... ¯\_(ツ)_/¯ is all we get. Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] URL checks
Is this a topic for Google Summer of Code? See https://github.com/rstats-gsoc/gsoc2021/wiki On 2021-01-09 12:34 p.m., Dirk Eddelbuettel wrote: > > The idea of 'white lists' to prevent known (and 'tolerated') issues, note, > warnings, ... from needlessly reappearing is very powerful and general, and > can go much further than just URL checks. > > I suggested several times in the past that we can look at the format Debian > uses in its 'lintian' package checker and its override files -- which are > used across thousands of packages there. But that went nowhere so I stopped. > > This issue needs a champion or two to implement a prototype as well as a > potential R Core / CRAN sponsor to adopt it. But in all those years no smoke > has come out of any chimneys so ... ¯\_(ツ)_/¯ is all we get. > > Dirk > __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel