coolbutuseless,
@coolbutuseless@fosstodon.org avatar

Help needed!

I want to email R-devel & get clarification on "Can we create custom connections in packages?"

I find the situation confusing because using the "Connections.h" is mentioned in R-exts manual - and so formally(?) part of the API

But this conflicts with the NOTE generated if you try to use "R_new_custom_connection()" which says it is "non-API"

Am I tilting at windmills? Poking the bear? HELP!

Edits/suggestions welcomed in the gist below.

https://gist.github.com/coolbutuseless/2b261e2f7f54206c1263fbca0e71ac64

michaelchirico,
@michaelchirico@fosstodon.org avatar

@coolbutuseless here's 5 CRAN packages using it, FWIW:

https://github.com/search?q=org%3Acran%20%2Fr_new_custom_connection%2F&type=code

(edit: {rredis} and {RGtk2} are not live on CRAN)

michaelchirico,
@michaelchirico@fosstodon.org avatar

@coolbutuseless cc @gaborcsardi who is maintainer on {archive} and {pak} and @jeroenooms for {curl}

michaelchirico,
@michaelchirico@fosstodon.org avatar

@coolbutuseless @gaborcsardi @jeroenooms now I just saw this r-devel message and am not sure if I'm missing something 😅😅

https://stat.ethz.ch/pipermail/r-devel/2024-April/083356.html

gaborcsardi,
@gaborcsardi@fosstodon.org avatar

@michaelchirico @coolbutuseless @jeroenooms Hah, I forgot archive used connections. pak embeds curl, but does not actually use the connection API.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • magazineikmin
  • Durango
  • thenastyranch
  • Youngstown
  • slotface
  • cisconetworking
  • InstantRegret
  • ngwrru68w68
  • rosin
  • kavyap
  • tsrsr
  • khanakhh
  • hgfsjryuu7
  • normalnudes
  • everett
  • osvaldo12
  • mdbf
  • modclub
  • tacticalgear
  • PowerRangers
  • GTA5RPClips
  • vwfavf
  • ethstaker
  • tester
  • cubers
  • Leos
  • anitta
  • All magazines