Skip to content

cl_delete_corpus() crashes if corpus has not been loaded before #33

@ablaette

Description

@ablaette

The cl_delete_corpus() function works as intended if a corpus has been loaded before:

library(RcppCWB)
cl_attribute_size(corpus = "UNGA", attribute = "word", attribute_type = "p")
cl_delete_corpus("UNGA")

But there is a nasty crash if the corpus is not loaded - e.g. if it has been deleted before.

library(RcppCWB)
cl_delete_corpus("UNGA")
cl_delete_corpus("UNGA")

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