Verification Record

A companion to My Preferred R Coding Guide.

Checked October 24, 2026. This record distinguishes source inspection from execution of the new examples.

Source Review

New R Files

styler 1.11.0 was run on both examples, the starter template, and the source-inspection script. Changes were reviewed. The two runnable examples then completed with Rscript --vanilla from the guide root, without analysis/model/plot warnings. Tidyverse startup messages identify normal function-name conflicts; the examples do not use ambiguous external versions of those functions.

The starter template parses but deliberately stops until filled in. It is not presented as a completed analysis. Markdown code excerpts are explanatory snippets; their syntax is checked separately, but they do not all run independently without the surrounding named objects.

Check Result
Synthetic input records 12 unique respondent IDs
Sample accounting 10 included, 1 missing outcome, 1 missing treatment
Analysis sample 5 control and 5 treatment respondents
Means Control 3.6; treatment 5.6
Estimated contrast 2.0 scale points; agrees with the difference in means
Uncertainty HC2 standard error 0.7211103; 95% interval approximately 0.3371 to 3.6629
Saved data RDS reloaded and identical to the analysis object
Wrangling example 4 country-month rows, no duplicate keys, no unmatched lookup rows
Wrangling totals Japan 2,100; Australia 1,850; total 3,950
Programmatic extraction Ordinary $/bracket extraction avoided; one documented .data[[.variable]] exception

Relevant versions: R 4.6.1 (2026-06-24); tidyverse 2.0.0; dplyr 1.2.1; purrr 1.2.2; readr 2.2.0; ggplot2 4.0.3; ggthemes 5.2.0; estimatr 1.0.6; broom 1.0.13; styler 1.11.0. The complete session information is saved with the example outputs.

modelsummary was not installed in the checked environment. The guide documents its source-backed use, but no newly generated modelsummary table is claimed to have been executed or validated.

Visual and Browser Checks

Repairs and Practical Limits

The first styler attempt encountered a cache-directory write restriction. Disabling styler's cache for the formatting process resolved it; no global setting or package installation was changed. An initial deprecated across() form in the audit utility was replaced by an explicit function. A Python 3.9 string-formatting issue in the HTML builder was fixed. Markdown pipes inside tables were escaped after browser inspection exposed incorrect cell splitting.

The first Poppler render reported a missing font configuration and unwritable cache. A temporary fontconfig file using system fonts and a temporary cache resolved this. A temporary loopback-only preview server required normal sandbox escalation and was allowed; no public server or deployment was created.

Final cleanup identified an unintended Rplots.pdf from automatic printing during batch execution. Plot previews are now explicitly interactive; batch execution writes only the named figure files. The temporary file was removed, and the analysis was rerun to verify that it did not recur.

The copy fallback is implemented for browsers without clipboard access. The successful clipboard path was exercised in the current browser; the denied-permission path was inspected in source, not forced through a browser permission change. Complete understanding by the human collaborator cannot be mechanically guaranteed; the guide gives a repeatable standard for making that outcome more likely.