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

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Tue Oct 31 09:36:54 CET 2023


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:31:12 +0000
Aixiang Jiang <aijiang using bccrc.ca> wrote:

> 'DLL requires the use of native symbols'

Interesting. It's not you, it's the MassSpecWavelet package, but the
error has already been fixed there. Look at the traceback produced for
the error:

>> Error in localMaximumSlidingWindow(x, winSize) :
>>  DLL requires the use of native symbols
>> Calls: MPC_DANM ... getLocalMaximumCWT -> localMaximum ->
>>        localMaximumSlidingWindow

The error happens in a function called 'localMaximumSlidingWindow',
called from 'localMaximum', called from 'getLocalMaximumCWT'.
'getLocalMaximumCWT' belongs to the MassSpecWavelet package.

The problem is that the maintainer sets R_forceSymbols(info, TRUE)
but then uses .Call() with a string containing the name of the function
instead of a special object that directly refers to that function. The
fix for that has been committed half a year ago
<https://code.bioconductor.org/browse/MassSpecWavelet/commit/496de2969b2f43f8be00f1966611497fa3053937>
and became part of the 1.66.0 release and the following versions of the
package. The fixed package versions went into Bioconductor 3.17 (for
R-4.3) but not 3.16 (for R-4.2).

-- 
Best regards,
Ivan




More information about the R-package-devel mailing list