[R-pkg-devel] 'S4Vectors' Error - Bioconductor dependencies

Kelsey Chetnik kchetn|k73 @end|ng |rom gm@||@com
Tue Mar 31 17:35:29 CEST 2020


Hi,

I am getting a dependencies error and I'm not sure how to solve it. This is
the error:

* installing *source* package 'MetaClean' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error: .onLoad failed in loadNamespace() for 'S4Vectors', details:
  call: validObject(.Object)
  error: invalid class "LLint" object: superclass "integer_OR_LLint"
not defined in the environment of the object's class
Execution halted
ERROR: lazy loading failed for package 'MetaClean'
* removing 'd:/RCompile/CRANincoming/R-devel/lib/MetaClean'


I think the issue is related to one of the bioconductor dependencies that I
have (XCMS) not installing properly. I was told that I need to include
biocViews: in my DESCRIPTION file, which I did, but the problem still
persists. Could someone please take a look at my DESCRIPTION to let me know
if there is something wrong / missing:

Package: MetaClean
Title: MetaClean for the Automatic Detection of Low Quality Peaks in
Untargeted Metabolomics Data
Version: 0.1.0
Author: Kelsey Chetnik
Maintainer: Kelsey Chetnik <kchetnik73 using gmail.com>
Description: This package utilizes 12 peak quality metrics and 9 diverse
machine learning algorithms to build a classifier for the automatic
  assessment of peak integration quality of peaks from untargeted
metabolomics analyses.
Depends: R (>= 3.5.0),
         MLmetrics
biocViews:
Imports:
    xcms,
    scmamp,
    caret,
    reshape2,
    knitr,
    ggplot2,
    plotrix,
    tools,
    utils,
    klaR,
    fastAdaboost,
    rpart,
    randomForest,
    kernlab,
    BiocStyle,
    methods,
    S4Vectors
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.0
VignetteBuilder: knitr

I'm stuck because I'm able to compile and run the package on my machine
(macOS) and a local windows machine without any ERRORS, WARNINGS, or NOTES
but I keep getting this error when submitting to CRAN.

Could someone please help me with this?

Thanks,
Kelsey

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list