mergeGridR
Grid-Based Number Merge Puzzle Simulation
Description
Provides tools to simulate, analyse, visualise, and benchmark grid-based number merge puzzles. The package implements generic grid mechanics, tile-spawning rules, merge rules, scoring functions, reproducible simulation utilities, and local 'Shiny' and 'WebGL' interfaces for interactive use. It is intended for teaching, algorithmic experimentation, and game-theoretic examples. The autoplay helpers use standard heuristic search and Monte Carlo simulation ideas described in Russell and Norvig (2021, ISBN:9780134610993) and Robert and Casella (2004, ISBN:9780387212395).
Downloads
145
Last 30 days
23953rd
145
Last 90 days
145
Last year
0
Last 7 days
0
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 12 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jul 1, 2026
ERROR 6 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 25, 2026
tests
Running ‘testthat.R’ [198s/216s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(mergeGridR)
>
> test_check("mergeGridR")
Loading required package: shiny
Saving _problems/test-shiny-server-1
...[truncated]...
└─base::force(code)
27. │ └─rlang::eval_tidy(quosure, mask, rlang::caller_env())
28. └─testthat::expect_true(state()$over) at test-shiny-server.R:128:5
[ FAIL 1 | WARN 0 | SKIP 2 | PASS 351 ]
Error:
! Test failures.
Execution halted