Skip to content
Prev 12969 / 21307 Next

[Bioc-devel] mcols Function Not Found for Windows Build

Hi Dario,

You're missing several imports. The CHECK results on the other platforms
contains "no visible global function definition" notes for several
symbols including 'mcols':

 
https://bioconductor.org/checkResults/3.7/bioc-LATEST/ClassifyR/malbec2-checksrc.html

Not sure why these missing imports only cause problems on Windows but
the error seems to happen in the context of BiocParallel, which could
be doing some platform-dependent business behind the scene. Note that,
generally speaking, code can still work properly even with missing
imports if the package where the missing imports are defined is in
the Depends field. This is the case here for S4Vectors. Because it's
in Depends and not in Imports, it ends up in the search path after
doing library(ClassifyR) so symbols defined in S4Vectors can be found
even if they are not imported. However, you would probably get an
error on all platforms if S4Vectors was in Imports instead of Depends.

Unless you have a good reason for importing selectively from S4Vectors,
I would recommended that you import S4Vectors entirely. This will
make the maintenance of your package easier in the long run and with
no significant downside.

Cheers,
H.
On 03/15/2018 06:00 PM, Dario Strbenac wrote: