Package tgstat version 2.3.29 Package built using 89014/R 4.6.0; x86_64-pc-linux-gnu; 2025-11-14 06:08:24 UTC; unix Checked with rchk version 35618ebbccf3cd0b45a3530e6303970a22a9056b LLVM version 14.0.6 More information at https://github.com/kalibera/cran-checks/blob/master/rchk/PROTECT.md For rchk in docker image see https://github.com/kalibera/rchk/blob/master/doc/DOCKER.md Function rprotect(SEXPREC*&) [PB] has possible protection stack imbalance tgstat/src/tgstat.cpp:716 Function runprotect(SEXPREC*&) [PB] has negative depth tgstat/src/tgstat.cpp:731 [PB] has possible protection stack imbalance tgstat/src/tgstat.cpp:735 Function tgs_matrix_tapply [UP] allocating function init_sum_data(SEXPREC*, SEXPREC*, SEXPREC*, SumData*) may destroy its unprotected argument (rarg_names ), which is later used. tgstat/src/matrix_tapply.cpp:201 [UP] calling allocating function init_sum_data(SEXPREC*, SEXPREC*, SEXPREC*, SumData*) with a fresh pointer (rarg_names ) tgstat/src/matrix_tapply.cpp:201 [UP] allocating function init_mean_data(SEXPREC*, SEXPREC*, SEXPREC*, MeanData*) may destroy its unprotected argument (rarg_names ), which is later used. tgstat/src/matrix_tapply.cpp:203 [UP] calling allocating function init_mean_data(SEXPREC*, SEXPREC*, SEXPREC*, MeanData*) with a fresh pointer (rarg_names ) tgstat/src/matrix_tapply.cpp:203 [UP] unprotected variable rarg_names while calling allocating function vdebug(char const*, ...) tgstat/src/matrix_tapply.cpp:205 [UP] unprotected variable rarg_names while calling allocating function vdebug(char const*, ...) tgstat/src/matrix_tapply.cpp:227 [UP] unprotected variable rarg_names while calling allocating function vdebug(char const*, ...) tgstat/src/matrix_tapply.cpp:240 [UP] unprotected variable rarg_names while calling allocating function TGStat::prepare4multitasking() tgstat/src/matrix_tapply.cpp:241 [UP] unprotected variable rarg_names while calling allocating function TGStat::launch_process() tgstat/src/matrix_tapply.cpp:244 [UP] unprotected variable rarg_names while calling allocating function RSaneAllocVector(unsigned int, long) tgstat/src/matrix_tapply.cpp:359 [UP] unprotected variable rarg_names while calling allocating function RSaneAllocVector(unsigned int, long) tgstat/src/matrix_tapply.cpp:362 [UP] unprotected variable rarg_names while calling allocating function Rf_lcons tgstat/src/matrix_tapply.cpp:369 [UP] unprotected variable rarg_names while calling allocating function Rf_lcons tgstat/src/matrix_tapply.cpp:374 [UP] unprotected variable rarg_names while calling allocating function eval_in_R(SEXPREC*, SEXPREC*) tgstat/src/matrix_tapply.cpp:416