[R-pkg-devel] Compiled code should not call non-API entry points in R

2022-11-03 Thread Andrew Simmons
Hi everyone, I had some R code for dealing with connections, and I was using summary.connection(). I rewrote it in C, so I was doing something more like: #include Rconnection Rcon = R_GetConnection(file); Rcon->description or Rcon->class but now, when checking my package, I get the following

Re: [R-pkg-devel] Compiled code should not call non-API entry points in R

2022-11-03 Thread Dirk Eddelbuettel
On 3 November 2022 at 21:09, Andrew Simmons wrote: | I had some R code for dealing with connections, and I was using | summary.connection(). I rewrote it in C, so I was doing something more | like: | | #include | | Rconnection Rcon = R_GetConnection(file); | Rcon->description or Rcon->class |