Skip to content

Scales v1.3 renamed "trans" class to "transform" #394

@CarolineFrei

Description

@CarolineFrei

Describe the bug
The version 1.3 of the scales package renamed the class returned by by scales::trans_new method from transto transform: r-lib/scales@1ed7b9a

This breaks the following line in transformerList: https://github.com/RGLab/flowWorkspace/blob/a564dbb03c37349255d420427629bf6ebef00b74/R/GatingSet_Methods.R#L1108C10-L1108C10

To Reproduce
Use any script using transformerList.

This throws: Error: 'trans' must be a list of transformer objects (generated by scales::trans_new method

Expected behavior
Should work

SessionInfo:
flowWorkspace_4.14.0
scales_1.3.0

Additional context
This was discovered when using CytoML::diva_to_gatingsetand should affect many downstream functions using flowWorkspace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions