Skip to content

Bug 18726: Add class to error emited when time limit (setTimeLimit) expiresΒ #114

@gmbecker

Description

@gmbecker

@kevinushey suggested (in Bug 18726) that the error emitted when a time limit set by setTimeLimit, setSessionTimeLimit expires be classed rather than the simple-error it currently is.

As Kevin points out the place in the C-code to look is R_CheckTimeLimit (in src/main/sysutils.c).

The trick here will be to figure out how to get C code to emit a classed error. I suggest following the breadcrumbs left by Kevin about stack overflow errors now being classed to figure this out.

There is not currently any engagement on this issue from R-core but it does fall into a larger project of adopting classed errors around the codebase of base R which was suggested as a possible R Sprint 2023 project by @ltierney

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIssues requiring knowledge of CLow-levelLow-level

    Type

    No type

    Projects

    Status

    To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions