Skip to content

Make some of the longer-running code void R_CheckUserInterrupt-ible? #91

Description

@krivit

For example, in addEdges(), the main loop

https://github.com/statnet/network/blame/769972a6d377e608143d8a05a3df8d6bb3de56be/src/access.c#L574

could call R_CheckUserInterrupt(); every thousand (?) iterations. It's similar with other functions that might take long inputs.

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