Skip to content

Cell order misses - #2831

Merged
EagleoutIce merged 3 commits into
mainfrom
cell-order-misses
Nov 30, 2026
Merged

EagleoutIce merged 3 commits into
mainfrom
cell-order-misses

Conversation

@EagleoutIce

Copy link
Copy Markdown
Member

No description provided.

- cell-order query: new option `runner` (knitr, session, jupyter) that
  overrides the runner of the format; session keeps the plot, the device,
  and the working directory across cells
- the query's orders leave out orders that run into a read no cell
  provides; `|>` is a base function; relative file reads resolve against
  the notebook's directory; dev.off keeps the plot of another device;
  data masks over R's data sets know their columns
- sure warnings: a table of base calls that surely warn and an analysis
  over the dataflow graph; options(warn = 2) makes a later sure warning
  a failure, unless it is suppressed or handled
- conditional code: single random draws resolve to their range, so
  branches that can never run are dropped; reads, removals, and options
  that R may skip are not required or certain
- sigdb: a `warns` property and flag
- tests: every audit notebook pinned to the orders and dead ends that R
  produces under console and knit semantics, plus unit tests for
  warnings, value ranges, and the counterexamples found
- values count only if they are the same in every cell order
  (CodeBindings); this gates the folding of conditions, loops, random
  draws, and sure-warning arguments
- redefined or masked base functions, S3 methods, and attached packages
  that export a name disable that function's sure warnings
- a warn level set in a called function counts; as.complex no longer
  claims a warning; rm(x) of an unbound x warns
- seq_len(0) loops never run; knitr::knit_exit() skips all later chunks
- rm(list = ls()) keeps dot names, other lists remove nothing for sure
- .GlobalEnv$x <- v rebinds x
- every former expected failure is fixed or pinned to the sound answer;
  31 more audit cases and unit tests
- a name has a fixed value if its one assignment runs exactly once:
  in blocks, under if (TRUE), as top-level <<-, or via assign() without
  an environment; this restores folding the mutation tests rely on
- smaller diff: audit and unit tests as compact tables, certain
  warnings reuse argument matching and value helpers, seq_len folds
  through resolveAsSeq, warning and random-draw data as tables
@EagleoutIce
EagleoutIce merged commit 0c27fe5 into main Nov 30, 2026
25 checks passed
@EagleoutIce
EagleoutIce deleted the cell-order-misses branch November 30, 2026 12:25
@EagleoutIce

Copy link
Copy Markdown
Member Author

This pull request is included in v2.17.16 (see Release v2.17.16 (Recover Perf of Cell Ordering)).

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