NEWS.md
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.Rf_findVar with R_getVar for R 4.6.0 compatibility..claude to .Rbuildignore.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).wait_for_kid()/wait_for_kids() to prevent potential hangs when child processes terminate unexpectedly without being reaped (#18).tgs_cor_knn and temp directory configuration.Rf_ prefix in the c++ code.R_curErrorBuf, SET_TYPEOF in the c++ code.