Skip to content

Add support for on.exit() and defer() - #1377

Open
lionel- wants to merge 1 commit into
oak-nse/17-lazy-scan-refactorfrom
oak-nse/18-on-exit
Open

Add support for on.exit() and defer()#1377
lionel- wants to merge 1 commit into
oak-nse/17-lazy-scan-refactorfrom
oak-nse/18-on-exit

Conversation

@lionel-

@lionel- lionel- commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Progress towards #1338

Add handlers for on.exit() and defer(). For Oak's analysis purposes, these have the same semantics as rlang::on_load() which we used as model for Current + Lazy scope until now.

(It took me way too long to figure out these have the same scoping behaviour.)

Positron Release Notes

New Features

  • N/A

Bug Fixes

  • N/A

@lionel-
lionel- force-pushed the oak-nse/18-on-exit branch from 2162295 to 7178beb Compare July 31, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant