Re: [R-pkg-devel] DLL requires the use of native symbols

2023-10-31 Thread Aixiang Jiang
-pkg-devel] DLL requires the use of native symbols This email came from an EXTERNAL SENDER. If you think this message is suspicious, please do not open any attached files or links, and forward it as an attachment to spamm...@bccrc.ca Dear Simon, Could you please look into this? The machines

Re: [R-pkg-devel] DLL requires the use of native symbols

2023-10-31 Thread Ivan Krylov
Dear Simon, Could you please look into this? The machines running r-release-macos-* checks seem to have MassSpecWavelet < 1.66 installed instead of the current version, 1.68. I think that MassSpecWavelet >= 1.66 would be version-appropriate for R-4.3 (Bioconductor >= 3.17). On Tue, 31 Oct 2023 07

[R-pkg-devel] DLL requires the use of native symbols

2023-10-31 Thread Aixiang Jiang
Hello everyone, I recently submitted my NMRphasing R package. While most of the check results are fine, I encountered two issues on macOS. The major error is: 'DLL requires the use of native symbols' I'm wondering how I can resolve this issue. Any help or suggestions would be greatly appreciat

Re: [R-pkg-devel] DLL requires the use of native symbols

2023-03-20 Thread Dirk Eddelbuettel
On 20 March 2023 at 21:25, Guido Kraemer wrote: | Thanks for the pointers! I think I fixed it. Here is what I did [1]. To | be honest, I am not sure what was wrong before, but I followed [2], | especially the code box at the very end of the section. I wonder if this | was always wrong or if th

Re: [R-pkg-devel] DLL requires the use of native symbols

2023-03-20 Thread Guido Kraemer
Thanks for the pointers! I think I fixed it. Here is what I did [1]. To be honest, I am not sure what was wrong before, but I followed [2], especially the code box at the very end of the section. I wonder if this was always wrong or if the R internals changed at some point. [1] https://githu

Re: [R-pkg-devel] DLL requires the use of native symbols

2023-03-20 Thread Dirk Eddelbuettel
On 20 March 2023 at 12:43, Duncan Murdoch wrote: | It appears that you have some uses of .Call() where you are passing a | character variable as the first argument, instead of registering the | entry point and passing the variable containing the registration | information. Correct. And to mak

Re: [R-pkg-devel] DLL requires the use of native symbols

2023-03-20 Thread Duncan Murdoch
I found three such calls in a quick search. The first is here: https://github.com/gdkrmr/coRanking/blob/3656bc0cd3032a650be8c8783414a1e62e419437/R/coranking_internals.R#L20 Duncan Murdoch On 20/03/2023 12:43 p.m., Duncan Murdoch wrote: It appears that you have some uses of .Call() where you a

Re: [R-pkg-devel] DLL requires the use of native symbols

2023-03-20 Thread Duncan Murdoch
It appears that you have some uses of .Call() where you are passing a character variable as the first argument, instead of registering the entry point and passing the variable containing the registration information. From your second link, it looks like Rcpp has some special way to handle ent

[R-pkg-devel] DLL requires the use of native symbols

2023-03-20 Thread Guido Kraemer
I am the maintainer of coRanking and got a message about an error, the error can be found here [1]. I can reproduce the error on my own machine with the latest R-devel but don't quite understand what the error means and how I can fix it. A search leads to an issue in Rcpp [2] where the charac