Reliable Utilities for Reusable Research Workflows
Overview
Provides reusable building blocks for research packages across matrix representation, numerical computation, neighborhood evaluation, controlled execution, and runtime interoperability. Core tools preserve declared sparse semantics, expose dense-memory and output boundaries, standardize neighborhood and classification results, and align serial and parallel result and error behavior. Additional helpers support structured messages, optional dependency checks, and common statistical workflows.
- **compatibility**:
- Preserve the historical
matrix_to_table(keep_zero = TRUE)default. Compact table output remains an explicit choice. - Preserve the stored-entry semantics and zero-value padding of
run_sparse_topk_by_column(). The newrun_sparse_topk()includes implicit sparse zeros by default so it matches ordinary dense-matrix semantics. - **feat**:
- Add
run_dense_topk()with an explicitby = "col"orby = "row"direction and a decreasing top-k default. - Add
run_sparse_topk()andrun_sparse_topk_stored()with an explicitby = "col"orby = "row"direction. The earlier column-wise names remain available as compatibility wrappers.
Show all changes in 0.5.0Hide the rest of the changes in 0.5.0
- Allow
parallelize_fun(verbose = TRUE, progress = FALSE)to retain standardizedlog_message()lifecycle output without a dynamic terminal progress bar. - Make Pearson
sparse_cor()blockwise and add correlation threshold, dense working-memory, and opt-in sparse output-size controls. The output limit defaults toInffor compatibility. Spearman and Kendall paths now check their dense allocation boundary before conversion. - Expose exact LISI neighbor-search strategy, C++ thread count, and dense input-memory controls through
compute_lisi(). - **fix**:
- Detect cancellation-prone row variance calculations and recompute only the affected dense or sparse rows with a stable two-pass calculation, preserving the existing fast path for ordinary inputs.
- Pad stored-entry sparse top-k results with
NAvalues instead of zeros. - Replace infinite correlations with zero when
remove_inf = TRUE. - Summarize failed structured or matrix-valued tasks by their task name or shape, preventing verbose error reporting from masking the original worker error.
- **docs**:
- Document sparse expansion, implicit-zero, dense-intermediate, and CPU boundaries, and reorganize the package reference around sparse and resource-controlled research workflows.
- Add a full-workflow vignette that connects semantic, numerical, resource, and execution contracts, plus an R Journal-oriented benchmark plan.
- Demonstrate stable verbose lifecycle messages separately from dynamic progress output in report-oriented examples.
- Add a package-wide workflow vignette spanning representation, neighborhood evaluation, execution, messages, and optional dependency diagnostics.
- **tests**:
- Exercise fork interruption from an external parent process and verify that workers are reaped before a subsequent fork call. Clarify that the in-process interrupt-sender test covers the default PSOCK backend.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-26
- ERROR12 OK, 1 ERROR2026-08-16
- OK13 OK2026-08-10
- ERROR12 OK, 1 ERROR2026-08-05
- OK13 OK2026-08-04
Show 6 earlier changesHide 6 earlier changes
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-04-09
- NOTE13 OK, 1 NOTE2026-03-28
- OK14 OK2026-03-10
Documentation
- Help pages
- 56includes a package overview page
- Examples that run
- 100%39 run in a plain check
- Exported functions with examples
- 72%
- Documented parameters
- 98%
- Return-value docs
- 77%
- Help pages citing references
- 9%
Downloads
Repository
- PRs merged (all time)
- 92%
- Median days to close, 50 most recently updated closed issues
- 59
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
Commit identities over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/mengxu98/thisutils on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-08 · The repository has a site deploy workflow
pkgdown site last built 2026-10-08
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2025-10-31Pull request: opened by its own accountCommits: some by its own account, count not recorded
- Claude Codefirst seen 2026-03-25Named in .Rbuildignore: .claude
- Codexfirst seen 2026-04-24Named in .Rbuildignore: .codexNamed in .gitignore: .codex
Dependencies
Installing thisutils adds 9 packages (6 with compiled code, 7.6 MB of source tarballs). Heaviest: pak 3.8 MB, Rcpp 1.8 MB, rlang 766 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.5.0Latest2026-08-21 · current release · diff ↗ ·
removed 1 export
run_dense_topk_by_columnadded 4 exports
run_dense_topk, run_sparse_stored_topk_by_column, run_sparse_topk, run_sparse_topk_stored - 0.4.92026-08-04 · diff ↗ ·
added 6 exports
classification_metrics_compute, fast_row_vars, filter_nonzero_variance_features, run_biocneighbors_knn, run_dense_topk_by_column, run_sparse_topk_by_column - 0.4.7
- 0.4.5
- RR 4.6.0 released · 2026-04-24
- 0.4.42026-04-02 · diff ↗ ·
added 6 exports
compute_lisi, compute_simpson_index, is_apple_silicon, is_linux, is_osx, is_windows - 0.4.3
- 0.4.2
- 0.3.6
- 0.3.12025-11-17 · diff ↗
- 0.2.02025-10-06 · diff ↗ ·
removed 2 exports
list_figlet_fonts, rescaleadded 9 exports
get_verbose, max_depth, maximump, meanp, minimump, parse_inline_expressions, sump, votep, wilkinsonp - 0.1.5
- 0.1.2
- 0.0.72025-07-20 · diff ↗
- 0.0.52025-07-03 · diff ↗ ·
added 8 exports
capitalize, download, invoke_fun, remove_space, rescale, str_wrap, try_get, unnest_fun - 0.0.42025-06-17
Show 1 earlier eventHide 1 earlier event
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-06-17
- Total releases
- 15 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 148 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("thisutils")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.