Skip to content

Dependency on deprecated xcmsClusterApply #63

Description

@sneumann

Hi,

we are getting an error xcmsClusterApply in findAdducts (the only place in CAMERA calling this function):

> an <- findAdducts(an,
+                   rules=rs@rules,
+                   polarity="positive")
Generating peak matrix for peak annotation!
Found and use user-defined ruleset!
Calculating possible adducts in 216 Groups... 
Parallel mode: There are 15 tasks.
Error in get(name, envir = asNamespace(pkg), inherits = FALSE) : 
  object 'xcmsClusterApply' not found
> traceback()
4: get(name, envir = asNamespace(pkg), inherits = FALSE)
3: xcms:::xcmsClusterApply
2: findAdducts(an, rules = rs@rules, polarity = "positive")
1: findAdducts(an, rules = rs@rules, polarity = "positive")

xcmsClusterApply was rightfully removed from xcms in
sneumann/xcms@944e73b#diff-79ec150cf995556015ba23f2a591ee68d5968adce487a08d2522e083a5c91112L303

But it is still called in

result <- xcms:::xcmsClusterApply(cl=object@runParallel$cluster,

The proper way is to go BPPARAM in CAMERA as well.
@jorainer, I need some hand-holding if I don't get this fixed this weekend myself.

Yours, Steffen

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions