• Added tgs_chi2(): vectorized chi-squared test for 2x2 contingency tables with optional Yates’ continuity correction. Supports both dense and sparse (dgCMatrix) matrix input. Useful for differential gene expression analysis. C++ backend with fork-based parallelization for large matrices and erfc(sqrt(x/2)) optimization for p-value computation.
  • Replaced non-API C entry point Rf_findVar with R_getVar for R 4.6.0 compatibility.
  • Added .claude to .Rbuildignore.
  • FIFO temp directory is now configurable via options(tgs_tmpdir = "/path") or the TMPDIR environment variable, instead of being hardcoded to /tmp. Fixes permission errors on systems where /tmp is restricted (#17).
  • Added a child-process liveness check in wait_for_kid()/wait_for_kids() to prevent potential hangs when child processes terminate unexpectedly without being reaped (#18).
  • Added comprehensive tests for tgs_cor_knn and temp directory configuration.
  • Removed non-API calls to R: Rf_GetOption.
  • Fixed noRemap additional issue by adding Rf_ prefix in the c++ code.
  • Removed non-API calls to R: R_curErrorBuf, SET_TYPEOF in the c++ code.
  • Fixed URL of the package in the DESCRIPTION file.
  • Guess tgs.use_blas from environment if not set.
  • Fixed clang warnings.
  • Fixed compilation errors on clang17.
  • Added missing header.
  • Fixed compilation errors on clang16.
  • added missing include in order to compile with gcc 13
  • Fixed rchk warning with the patch generously provided by Tomas Kalibera (thanks!).
  • Fixed a compilation warning on M1 macs.
  • Fixed a compilation warning on M1 macs.
  • Fix compilation issues with R 4.2.0
  • Use roxygen2 and markdown for documentation
  • Fix compilation issues on Debian.
  • Fix compilation errors on 32-bit platforms.
  • Fix compilation and run-time issues on Solaris.
  • Stop using non-portable bswap_32 and bswap_64.
  • tgs_matrix_tapply: set correctly the column names of the resulted matrix.
  • tgs_cor_knn: fix alignment issues on some platforms.
  • Added authors with DOI to package description.
  • Fixed compilation issues on some platforms.
  • Bug fix in tgs_matrix_tapply: “fn_name is not a string” error when ‘fun’ is a function defined inline.
  • Bug fix in tgs_matrix_tapply: occasional “stack imbalance” warning.