Where Will the Attacker Strike? How to rerun the analysis

Every number on this site comes from synthetic inputs in params.yaml and data/, and from results computed by the scripts in R/. Nothing is downloaded, and every random draw is seeded, so running the same commit with the same package versions gives the same results. The pages never solve anything themselves: they read cached results from data/results/. This page explains how to rebuild those results, lists the inputs with their checksums, shows the tests and checks, and records the software environment.

Quick start

The code and data are in the GitHub repository patrick-lefler/defender-attacker-game-theory. You need R 4.3 or later and Quarto 1.5 or later. To rebuild the results, run the tests and render the site from a clean copy:

git clone https://github.com/patrick-lefler/defender-attacker-game-theory
cd defender-attacker-game-theory
Rscript -e 'renv::restore()'   # once: install the package versions pinned in renv.lock
Rscript R/run_all.R
Rscript -e 'testthat::test_dir("tests/testthat")'
quarto render

The rendered site is written to docs/. Run R/run_all.R with Rscript from a terminal, not with source() in an R console: it ends with quit(), which would close your session. It exits with an error status if any diagnostic fails.

Environment

Code
repro_env_table(packages = c("highs", "nloptr", "dplyr", "gt", "testthat")) |>
  gt() |>
  gt_se() |>
  cols_align(align = "left")
Table 1: Software used to render this page.
Item Value
R R version 4.5.2 (2025-10-31)
Platform aarch64-apple-darwin20
Quarto 1.8.26
Packages In sync with renv.lock
highs 1.15.1.2
nloptr 2.2.1
dplyr 1.2.1
gt 1.3.0
testthat 3.3.2

How to read the table. Each row is one piece of software this page was rendered with and its version: R, the operating system, Quarto, and the packages the results depend on most (the two solvers, the data tools, the table package and the test framework). The “Packages” row says whether the installed R packages match the versions pinned in renv.lock.

What the table tells you. If your versions match these and the packages are in sync, rebuilding the project should give the same numbers. If they differ, small differences in the results may come from the software rather than the analysis. The versions that built the cached results are recorded separately under Caching.

Pipeline

R/run_all.R sources the scripts below in order, calls each script’s main_*() function, runs the diagnostics and saves every result to data/results/. Later scripts depend on functions from earlier ones, so sourcing one script on its own in a fresh session fails.

Script What it does Main outputs
R/00_params.R Reads params.yaml into constants and sets the project paths SEED, BUDGET_BASE, RESULTS_DIR and other constants
R/01_utils.R Payoffs, the crew’s best response, quantal-response loss and gradient, formatters, result read/write helpers Shared functions
R/20_solve_sse.R Textbook (Stackelberg) equilibrium as a set of linear programs solved with highs; the two-asset example two_asset.rds
R/21_baselines.R Risk-ranked, proportional and uniform allocations Shared functions
R/30_robust.R Robust (quantal-response) equilibrium with nloptr (SLSQP, analytic gradient, multistart) strategies_base.rds
R/31_qre_sweep.R Sweep over the crew’s rationality (lambda) and the out-of-sample choice of lambda qre_sweep.rds, lambda_choice.rds
R/32_misestimation.R Monte Carlo test of each strategy against misjudged crews misest_draws.rds, misest_summary.rds, evpi.rds
R/33_frontier.R All strategies across the budget grid; data for the budget slider frontier.rds, slider_data.rds
R/34_alignment_check.R Rerun with crew values proportional to our losses alignment.rds
R/35_sensitivity.R One-at-a-time sensitivity and the lateral-movement scenario sensitivity.rds
R/run_all.R Runs all of the above, then the diagnostics diagnostics.rds, session_info.rds

Every page sources R/00_params.R, R/01_utils.R and R/90_theme.R (names, colors and the plot and table styles) in a hidden first chunk, then reads the results it needs. R/99_wordcount.R is an internal prose-length check; its result is printed to the terminal only.

Data

All inputs are synthetic and illustrative, written for this project. data/assets.csv holds the six assets: our loss if each is hit, the crew’s value, the cost of coverage and the coverage cap. data/assumptions_register.csv is the register shown on the Governance page. params.yaml holds every other setting (see Parameters and seeds). The files in data/results/ are generated by R/run_all.R and committed, so the site renders without rerunning the analysis.

The checksums below identify the exact files used in this render. A different checksum means a different file.

Code
input_files <- c("params.yaml", "data/assets.csv", "data/assumptions_register.csv")
result_files <- file.path("data", "results", c(
  "two_asset.rds", "strategies_base.rds", "qre_sweep.rds", "lambda_choice.rds",
  "misest_draws.rds", "misest_summary.rds", "evpi.rds", "frontier.rds", "slider_data.rds",
  "alignment.rds", "sensitivity.rds", "diagnostics.rds", "session_info.rds"
))
checksums <- tibble(
  Kind = c(rep("Input", length(input_files)), rep("Cached result", length(result_files))),
  File = c(input_files, result_files)
) |>
  mutate(
    `Size (KB)` = file.size(file.path(PROJECT_ROOT, File)) / 1e3,
    MD5 = unname(tools::md5sum(file.path(PROJECT_ROOT, File)))
  )

checksums |>
  gt() |>
  tab_header(
    title = md("**Files used in this render**"),
    subtitle = paste0("Rendered ", Sys.Date())
  ) |>
  fmt_number(columns = `Size (KB)`, decimals = 1) |>
  gt_se() |>
  cols_align(align = "left", columns = c(Kind, File, MD5))
Table 2: Input files and cached results used in this render.
Files used in this render
Rendered 2026-11-20
Kind File Size (KB) MD5
Input params.yaml 1.5 a9ff20853017ebf7c724e34d6c94577a
Input data/assets.csv 0.4 c9835ff0e221fc683aa047c2d693a6be
Input data/assumptions_register.csv 2.4 768550a18149dd496b0c2cc0da6ddb88
Cached result data/results/two_asset.rds 2.5 f6cbf8803e987b8f13291396e9e9a27e
Cached result data/results/strategies_base.rds 0.8 e461e97142a5f7501345945fbc5c8b3b
Cached result data/results/qre_sweep.rds 0.6 eec153d63f39c36e10227ba5ce486c37
Cached result data/results/lambda_choice.rds 0.2 5cc8e14cba9a9cbb012ec962e5a27eeb
Cached result data/results/misest_draws.rds 26.1 f415fa2cee567b6c09dda3194ee2a6db
Cached result data/results/misest_summary.rds 0.7 ea83dfa1950596cea3d19ed59f84ec3d
Cached result data/results/evpi.rds 22.8 a3a8aa257081145c40e130088af1d7e4
Cached result data/results/frontier.rds 6.2 9b1cb66abaa0e5beb5f93c8cfc9df58a
Cached result data/results/slider_data.rds 2.2 8e433486f1e85a97bb7fbdcd0fced228
Cached result data/results/alignment.rds 0.3 c5b116b1524a217e33b2c7a00e1385b7
Cached result data/results/sensitivity.rds 0.6 096d1bf7fabf3f3a8ae42140b0f816ac
Cached result data/results/diagnostics.rds 0.6 d5f29c38d6547b97b3b9f0a77663cefe
Cached result data/results/session_info.rds 19.6 9171962b12bc0d5730806494b35d5461

How to read the table. Each row is one file the site depends on: 3 hand-written inputs and 13 cached results produced by the scripts. The size is in kilobytes. The MD5 column is a checksum, a short fingerprint computed from the file’s exact contents; changing even one character gives a completely different fingerprint. The subtitle gives the date this page was rendered.

What the table tells you. Anyone rerunning the analysis can compute the same fingerprints on their copies. Matching input fingerprints mean identical starting points. The results should then match too, except session_info.rds, which records the build time and so changes on every run. If a result fingerprint differs while the inputs match, check the package versions first.

Parameters and seeds

Every setting lives in params.yaml, each labeled as an assumption, most with a tested range. Every random stream is seeded explicitly from seed (20261103): the misjudgment Monte Carlo in R/32_misestimation.R, the multistart points in R/30_robust.R and the gradient check in R/run_all.R. Lambda is chosen on separate draws seeded with seed + 100, so the choice is not tuned to the reported results, and the stability diagnostic reruns the Monte Carlo with seed + 1.

Code
fmt_value <- \(p) {
  v <- if (!is.null(p$value)) p$value else c(p$from, p$to, p$by)
  if (!is.null(p$from)) sprintf("%g to %g by %g", p$from, p$to, p$by) else paste(format(unlist(v)), collapse = ", ")
}
tibble(
  Name = names(params),
  Value = purrr::map_chr(params, fmt_value),
  Range = purrr::map_chr(params, \(p) if (is.null(p$range)) "" else paste(unlist(p$range), collapse = " to ")),
  Status = purrr::map_chr(params, "status")
) |>
  gt() |>
  gt_se() |>
  cols_align(align = "left")
Table 3: Settings in params.yaml.
Name Value Range Status
seed 20261103 assumption (reproducibility seed for all random streams)
budget_base 9 assumption (allocable security budget, $M per year)
coverage_floor 0.25 0 to 0.5 assumption (hygiene baseline on every asset; cost included in budget)
def_covered_share 0.1 0 to 0.3 assumption (defender loss when an attack is stopped, share of full loss)
lambda_robust 2 0.25 to 10 assumption (QRE rationality; justified on page 4 by the misestimation sweep)
lambda_grid 0.25, 0.50, 1.00, 2.00, 3.00, 5.00, 10.00 assumption (grid for the QRE sweep)
misest_sigma 0.35 0.1 to 0.7 assumption (lognormal sigma of multiplicative error on crew success payoffs)
n_mc 3000 assumption (Monte Carlo draws)
budget_grid 5 to 20 by 0.5 assumption (frontier and slider grid; minimum feasible budget is 4.875)
n_starts 20 assumption (multistart count for robust optimizer)
tol 1e-07 assumption (tie tolerance for attacker best response)
loss_lognormal_sigma 0.8 assumption (display-only lognormal sigma for asset loss L, which is treated as the mean)

How to read the table. Each row is one setting from params.yaml, the single file that controls the analysis. The value is what this site uses. The range, where given, is the span of values that would still be plausible. The status explains what the setting means and marks it as an assumption, since every value here is illustrative rather than taken from a published source.

What the table tells you. To test a different assumption, change its value in params.yaml and rerun the pipeline; no code needs editing. The seed fixes every random draw, so two people with the same file get the same numbers. The Governance page shows how much the ranking moves when the most important settings change.

# Every parameter is an ASSUMPTION (illustrative, synthetic) unless a source is given.
# Money in $M. Loss figures are expected loss per targeted ransomware campaign (one campaign per year).
seed:
  value: 20261103
  status: assumption (reproducibility seed for all random streams)
budget_base:
  value: 9.0
  status: assumption (allocable security budget, $M per year)
coverage_floor:
  value: 0.25
  status: assumption (hygiene baseline on every asset; cost included in budget)
  range: [0.0, 0.5]
def_covered_share:
  value: 0.10
  status: assumption (defender loss when an attack is stopped, share of full loss)
  range: [0.0, 0.3]
lambda_robust:
  value: 2.0
  status: assumption (QRE rationality; justified on page 4 by the misestimation sweep)
  range: [0.25, 10]
lambda_grid:
  value: [0.25, 0.5, 1, 2, 3, 5, 10]
  status: assumption (grid for the QRE sweep)
misest_sigma:
  value: 0.35
  status: assumption (lognormal sigma of multiplicative error on crew success payoffs)
  range: [0.1, 0.7]
n_mc:
  value: 3000
  status: assumption (Monte Carlo draws)
budget_grid:
  from: 5.0
  to: 20.0
  by: 0.5
  status: assumption (frontier and slider grid; minimum feasible budget is 4.875)
n_starts:
  value: 20
  status: assumption (multistart count for robust optimizer)
tol:
  value: 1.0e-7
  status: assumption (tie tolerance for attacker best response)
loss_lognormal_sigma:
  value: 0.8
  status: assumption (display-only lognormal sigma for asset loss L, which is treated as the mean)

Tests

Two layers of checks guard the results. Unit tests in tests/testthat/ check the core functions against reference values from an independent Python prototype (reference_prototype.py). They run again each time this page is executed, and the table below shows the results.

Code
tests <- testthat::test_dir(
  file.path(PROJECT_ROOT, "tests", "testthat"),
  reporter = "silent", stop_on_failure = FALSE
) |>
  as.data.frame() |>
  transmute(
    File = file, Test = test, Expectations = nb,
    Result = if_else(failed == 0 & !error & !skipped, "pass", "FAIL")
  )
n_tests_pass <- sum(tests$Result == "pass")

tests |>
  gt() |>
  gt_se() |>
  cols_align(align = "left", columns = c(File, Test, Result))
Table 4: Unit test results from rendering this page.
File Test Expectations Result
test-baselines.R allocations respect bounds and budget 33 pass
test-baselines.R risk-ranked fills in heat-map expected-loss order 3 pass
test-baselines.R baselines match reference rows 2 pass
test-reference-values.R base-budget results match the prototype reference values 20 pass
test-reference-values.R misestimation MC matches reference means/p95 within 5% and ranking exactly 11 pass
test-reference-values.R robust has the lowest MC mean for budgets 6 to 15 19 pass
test-reference-values.R alignment check matches the prototype 4 pass
test-robust.R analytic gradient matches central finite differences 5 pass
test-robust.R robust solution is feasible and improves on the starting point 3 pass
test-robust.R QRE probabilities sum to one and are stable at large lambda 2 pass
test-sse.R two-asset example matches the reference 6 pass
test-sse.R SSE at the base budget is consistent 3 pass
test-sse.R SSE errors informatively when infeasible 1 pass

How to read the table. Each row is one unit test, grouped by the file it lives in. The expectations column counts the individual comparisons inside the test, such as one computed coverage against its reference value. “Pass” means every comparison in the test held. Here 13 of 13 tests passed, covering 112 comparisons in total.

What the table tells you. The building blocks give the expected answers: the solvers, the baseline strategies, the Monte Carlo and the robust optimizer all reproduce values computed separately in Python. A failing row would point to the function that broke. Because of the page cache, this table updates only when this page is rendered on its own (see Caching).

The second layer is 7 diagnostics that R/run_all.R runs on the full results each time it builds them; 7 passed in the last build.

Code
diag |>
  gt() |>
  cols_label(check = "Check", result = "Result", detail = "Detail") |>
  gt_se() |>
  cols_align(align = "left")
Table 5: Automated checks run when the results were built.
Check Result Detail
SSE LPs solved without solver error pass 31 budgets on the grid, every LP optimal or infeasible
Best-response consistency pass 155 strategy-budget pairs rechecked
Budget constraint binding pass Baselines bind where B <= 16.4. Textbook leaves slack at 5 budgets (max 2.37); robust at 1 (max 0.13, no improving move)
Two-asset analytic match pass PLAT coverage 0.4483 vs analytic 0.4483
Gradient check pass max abs error 7.7e-09 at five points
Monte Carlo stability (seed + 1) pass max change in mean 1.0%; ranking unchanged
Robust minimizes the QRE objective at every budget pass Robust lowest or tied at all 31 budgets; closest call at $5.5M: robust 13.54 vs best other 13.92

How to read the table. Each row is a check on the finished results rather than on a single function. “Pass” means the check met its standard. The detail column states what was checked and, where useful, by how much it passed, such as the largest gradient error or the change in average loss under a new seed.

What the table tells you. The solvers converged, every strategy respects the budget, the optimizer’s slope calculation is correct, and the Monte Carlo results barely move when the random draws change: average losses shift by at most a few percent and the ranking holds. The last row explains the one exception on the budget frontier: at $5.5M, the risk-ranked plan has a slightly lower average loss than robust when we misjudge the crew. Robust still gives the lowest loss under its own noisy-crew model at every budget, so the optimizer found the right answer; the exception comes from the misjudgment test, not from a solver failure.

Caching

  • Cached results (data/results/*.rds). Written by R/run_all.R (or by a single script’s main_*() function) and read by the pages. They are committed to git. Rerun Rscript R/run_all.R after changing params.yaml, data/ or any analysis script. A page fails to render if a result file it reads is missing, so run the pipeline before rendering after adding a script.
  • Quarto freeze (_freeze/). _quarto.yml sets freeze: auto, so a full quarto render re-executes a page only when that page’s .qmd file changes. New cached results do not count as a change, so after rerunning R/run_all.R, render each page explicitly (for example quarto render index.qmd) or delete _freeze/ first. Otherwise a page can show stale numbers. _freeze/ is not committed.

The cached results on this site were built on 2026-11-06 21:17 with the versions below.

Code
tibble(
  Item = c("R", "Seed", names(si$packages)),
  Value = c(si$r_version, as.character(si$seed), unname(si$packages))
) |>
  gt() |>
  gt_se() |>
  cols_align(align = "left")
Table 6: R version, seed and key package versions used to build the cached results.
Item Value
R R version 4.5.2 (2025-10-31)
Seed 20261103
highs 1.15.1.2
nloptr 2.2.1
dplyr 1.2.1
ggplot2 4.0.3
gt 1.3.0
testthat 3.3.2

How to read the table. The first row is the version of R that built the cached results, the second is the random seed, and the rest are the packages that most affect the numbers: the two solvers, the data and plotting tools, and the test framework. These were recorded when R/run_all.R last ran, which can be earlier than the date this page was rendered.

What the table tells you. Anyone using these versions and this seed should reproduce every number on the site exactly. A different seed changes the Monte Carlo results slightly; the stability diagnostic above shows by how much. A different solver version could change results in the last decimal places.

Known limitations

Limits of reproducibility

  • Bit-for-bit equality is expected only on the same platform and package versions. Floating-point and BLAS differences across machines can change low-order digits. The optimizers (highs for the linear programs, nloptr for the robust strategy) can stop at slightly different points on different machines or versions, which can move results in the last decimal places.
  • Nothing is downloaded during a build, so the analysis does not depend on any external data source. Rebuilding does depend on the pinned package versions staying available from CRAN, through renv::restore().
  • The unit-test reference values come from reference_prototype.py, which needs Python to rerun. The R tests use the stored values and do not call Python.
  • Quarto versions affect rendering, not the numbers.

Model limitations

The model is a deliberately simple stylized game. Its main limitations, most of which are also listed in the assumptions register:

  1. No repeated play. One campaign, one decision. Real crews return, learn from failed attempts and share what they find. Loss figures are per campaign and the model assumes one campaign per year (A1).
  2. One attacker type. Every strategy is built around one ransomware crew’s payoffs. Insiders and state actors want different assets and are out of scope (A2).
  3. No deception. The model has no honeypots or decoys, which can change what the crew sees and so where it attacks. The crew is assumed to see our coverage before choosing a target (A3); the noisy-crew sweep on the Robustness page tests this only in part.
  4. Assets fail independently. A breach of identity or corporate IT does not spread to other systems, although real ransomware crews often move laterally (A11). The sensitivity table on the Governance page tests a simple version of this by raising those two assets’ losses.
  5. Static budget and simple controls. The budget does not respond to new intelligence during the year. Coverage costs rise in a straight line (A4) and coverage is treated as the probability an attack is stopped, with controls failing independently (A5). Neither assumption is tested.
  6. Synthetic calibration. Every asset value, cost and setting is illustrative (A8). The misjudgment test stresses only the crew’s payoffs, not our own loss estimates or costs.

Natural follow-ons are repeated play, mixtures of attacker types, and the attack-graph Markov chain project.

What would change the conclusions

Change Likely effect Tested here?
We know the crew’s payoffs exactly The textbook plan wins: at the base budget it loses $4.9M against a perfectly predicted crew, against $7.4M for robust. Robust’s advantage comes entirely from protecting against misjudgment. Yes, frontier and two-asset example
Misjudgment larger than tested, or biased in one direction Every strategy loses more. Robust led across sigma 0.20 to 0.50, but a consistent bias (for example always underrating one asset) was not simulated. Partly (sigma 0.20 to 0.50, unbiased)
Several attacker types, or repeated campaigns Could reorder the strategies, because the best plan against a mixture need not be the best against any single crew. No
Strong lateral movement Raises the value of covering identity and corporate IT. Robust still led in the one scenario tested. One scenario
Diminishing returns or correlated control failures Changes how much each extra dollar of coverage buys, and so the shape of every allocation. No

How to read the table. Each row is a change to the world the model assumes. The middle column says what that change would probably do to the comparison of strategies; the last column says whether this site tests it.

What the table tells you. The headline result, that robust beats the alternatives when we misjudge the crew, holds for every change the site tests. The first row is the trade-off: robust gives up some performance against a perfectly predicted crew in exchange for much smaller losses when the prediction is wrong. The untested rows are where the conclusion is least secure.

What real data would replace

Assumption Real data that would replace it
Our loss if each asset is hit (L in data/assets.csv) The firm’s own business-impact and scenario analysis, cross-checked against incident and insurance-claim history
The crew’s value of each asset (V) Threat intelligence on which systems ransomware crews target and what they extract or demand from them
Coverage cost and cap (k, c_max) Control costs from the security budget and vendor quotes, and the realistic maximum effectiveness of each control set
Coverage as the probability an attack is stopped (A5) Control-effectiveness evidence from red-team exercises, penetration tests and past incidents
Size of misjudgment (misest_sigma, A10) A record of how well past threat-intelligence forecasts matched the attacks that followed
Loss when an attack is stopped (def_covered_share, A6) Response and recovery costs of contained incidents
One campaign per year (A1) The firm’s own attack frequency and industry incident data

How to read the table. Each row pairs a synthetic input or assumption with the kind of evidence a real firm would use in its place. Column names in parentheses refer to data/assets.csv and params.yaml.

What the table tells you. The method carries over to a real firm, but the numbers do not. The crew’s values and the size of our misjudgment matter most here, because they decide which asset the crew prefers and how much robustness is worth. They are also the hardest inputs to estimate.

How to use these results

Use the analysis as a challenge to a security budget, not as an allocation engine. What carries over is the logic: attackers respond to what we defend, and a plan should be tested against an attacker who differs from the one we expect. Do not use the dollar figures, coverage levels or asset rankings as estimates for any real firm; they come from illustrative inputs.

Licenses

The code on this site is released under the MIT License. There are no third-party data: every input is synthetic and was written for this project, so the same license covers it. Three packages the results depend on carry copyleft licenses, as stated in each package’s DESCRIPTION file; using them to produce results does not change the license of this project’s code.

Source Terms
Code in R/ and tests/ MIT License
Synthetic inputs (params.yaml, data/) MIT License
highs (linear-program solver) GPL (>= 2)
nloptr (robust optimizer) LGPL (>= 3)
ggrepel (plot labels) GPL-3

Session information

The site was built with R and Quarto. The analysis loads dplyr, ggplot2 and gt, and also calls ggrepel, highs, nloptr, purrr, readr, renv, scales, sessioninfo, testthat, tibble, tidyr, tidyselect and yaml. Package versions are pinned in renv.lock; run renv::restore() to install them.

#> ─ Session info ───────────────────────────────────────────────────────────────
#>  setting  value
#>  version  R version 4.5.2 (2025-10-31)
#>  os       macOS Tahoe 26.6.2
#>  system   aarch64, darwin20
#>  ui       X11
#>  language (EN)
#>  collate  C.UTF-8
#>  ctype    C.UTF-8
#>  tz       America/New_York
#>  date     2026-11-20
#>  pandoc   3.6.3 @ /Applications/quarto/bin/tools/ (via rmarkdown)
#>  quarto   1.8.26 @ /usr/local/bin/quarto
#> 
#> ─ Packages ───────────────────────────────────────────────────────────────────
#>  ! package      * version  date (UTC) lib source
#>  P backports      1.5.0    2024-05-23 [?] CRAN (R 4.5.0)
#>  P base64enc      0.1-6    2026-02-02 [?] CRAN (R 4.5.2)
#>  P bit            4.6.0    2025-03-06 [?] CRAN (R 4.5.0)
#>  P bit64          4.8.2    2026-05-19 [?] CRAN (R 4.5.2)
#>  P brio           1.1.5    2024-04-24 [?] CRAN (R 4.5.0)
#>  P checkmate      2.3.3    2025-08-18 [?] CRAN (R 4.5.0)
#>  P cli            3.6.6    2026-04-09 [?] CRAN (R 4.5.2)
#>  P commonmark     2.0.0    2025-07-07 [?] CRAN (R 4.5.0)
#>  P crayon         1.5.3    2024-06-20 [?] CRAN (R 4.5.0)
#>  P desc           1.4.3    2023-12-10 [?] CRAN (R 4.5.0)
#>  P digest         0.6.39   2025-11-19 [?] CRAN (R 4.5.2)
#>  P dplyr        * 1.2.1    2026-04-03 [?] CRAN (R 4.5.2)
#>  P evaluate       1.0.5    2025-08-27 [?] CRAN (R 4.5.0)
#>  P farver         2.1.2    2024-05-13 [?] CRAN (R 4.5.0)
#>  P fastmap        1.2.0    2024-05-15 [?] CRAN (R 4.5.0)
#>  P fs             2.1.0    2026-04-18 [?] CRAN (R 4.5.2)
#>  P generics       0.1.4    2025-05-09 [?] CRAN (R 4.5.0)
#>  P ggplot2      * 4.0.3    2026-04-22 [?] CRAN (R 4.5.2)
#>  P glue           1.8.1    2026-04-17 [?] CRAN (R 4.5.2)
#>  P gt           * 1.3.0    2026-01-22 [?] CRAN (R 4.5.2)
#>  P gtable         0.3.6    2024-10-25 [?] CRAN (R 4.5.0)
#>  P highs          1.15.1-2 2026-11-02 [?] CRAN (R 4.5.2)
#>  P hms            1.1.4    2025-10-17 [?] CRAN (R 4.5.0)
#>  P htmltools      0.5.9    2025-12-04 [?] CRAN (R 4.5.2)
#>  P htmlwidgets    1.6.4    2023-12-06 [?] CRAN (R 4.5.0)
#>  P jsonlite       2.0.0    2025-03-27 [?] CRAN (R 4.5.0)
#>  P knitr          1.50     2025-03-16 [?] CRAN (R 4.5.0)
#>  P lifecycle      1.0.5    2026-01-08 [?] CRAN (R 4.5.2)
#>  P litedown       0.8      2025-11-02 [?] CRAN (R 4.5.0)
#>  P magrittr       2.0.5    2026-04-04 [?] CRAN (R 4.5.2)
#>  P markdown       2.0      2025-03-23 [?] CRAN (R 4.5.0)
#>  P nloptr         2.2.1    2025-03-17 [?] CRAN (R 4.5.0)
#>  P otel           0.2.0    2025-08-29 [?] CRAN (R 4.5.0)
#>  P pillar         1.11.1   2025-09-17 [?] CRAN (R 4.5.0)
#>  P pkgconfig      2.0.3    2019-09-22 [?] CRAN (R 4.5.0)
#>  P pkgload        1.5.3    2026-06-15 [?] CRAN (R 4.5.2)
#>  P purrr          1.2.2    2026-04-10 [?] CRAN (R 4.5.2)
#>  P R6             2.6.1    2025-02-15 [?] CRAN (R 4.5.0)
#>  P RColorBrewer   1.1-3    2022-04-03 [?] CRAN (R 4.5.0)
#>  P Rcpp           1.1.2    2026-07-05 [?] CRAN (R 4.5.2)
#>  P readr          2.1.5    2024-01-10 [?] CRAN (R 4.5.0)
#>    renv           1.1.5    2025-07-24 [1] CRAN (R 4.5.2)
#>  P rlang          1.3.0    2026-07-05 [?] CRAN (R 4.5.2)
#>  P rmarkdown      2.30     2025-09-28 [?] CRAN (R 4.5.0)
#>  P rprojroot      2.1.1    2025-08-26 [?] CRAN (R 4.5.0)
#>  P S7             0.2.2    2026-04-22 [?] CRAN (R 4.5.2)
#>  P sass           0.4.10   2025-04-11 [?] CRAN (R 4.5.0)
#>  P scales         1.4.0    2025-04-24 [?] CRAN (R 4.5.0)
#>  P sessioninfo    1.2.3    2025-02-05 [?] CRAN (R 4.5.2)
#>  P testthat     * 3.3.2    2026-01-11 [?] CRAN (R 4.5.2)
#>  P tibble         3.3.1    2026-01-11 [?] CRAN (R 4.5.2)
#>  P tidyselect     1.2.1    2024-03-11 [?] CRAN (R 4.5.0)
#>  P tzdb           0.5.0    2025-03-15 [?] CRAN (R 4.5.0)
#>  P vctrs          0.7.3    2026-04-11 [?] CRAN (R 4.5.2)
#>  P vroom          1.6.6    2025-09-19 [?] CRAN (R 4.5.0)
#>  P waldo          0.6.2    2025-07-11 [?] CRAN (R 4.5.0)
#>  P withr          3.0.3    2026-06-19 [?] CRAN (R 4.5.2)
#>  P xfun           0.54     2025-10-30 [?] CRAN (R 4.5.0)
#>  P xml2           1.4.1    2025-10-27 [?] CRAN (R 4.5.0)
#>  P yaml           2.3.10   2024-07-26 [?] CRAN (R 4.5.0)
#> 
#>  [1] /Users/patricklefler/Claude/r/2026-11-05_rQuarto_defender-attacker-game-theory/renv/library/macos/R-4.5/aarch64-apple-darwin20
#>  [2] /Users/patricklefler/Library/Caches/org.R-project.R/R/renv/sandbox/macos/R-4.5/aarch64-apple-darwin20/4cd76b74
#> 
#>  * ── Packages attached to the search path.
#>  P ── Loaded and on-disk path mismatch.
#> 
#> ──────────────────────────────────────────────────────────────────────────────