Skip to content

setAs() has no definition for class Spatial #129

@etiennebr

Description

@etiennebr

When sourcing sp.R which contains setAs("Spatial", "sf", ...), setAs("Spatial", "sfc", ...), setAs("sf", "Spatial", ...) and setAs("sfc", "Spatial", ...).

in method for ‘coerce’ with signature ‘"Spatial","sf"’: no definition for class “Spatial”
in method for ‘coerce’ with signature ‘"Spatial","sfc"’: no definition for class “Spatial”
in method for ‘coerce’ with signature ‘"sf","Spatial"’: no definition for class “Spatial”
in method for ‘coerce’ with signature ‘"sfc","Spatial"’: no definition for class “Spatial”

It complains on devtools::load_all(".") and devtools::document(roclets=c('rd', 'collate', 'namespace')), which both source these functions (well, all .R files).

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