2025-06-30 11:48 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-tm/r-cran-tm_0.7-16.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-62-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: fd7558d (2025-06-30 10:33:25 +0200) count: 10 10 elapsed-time: 0.3 0.1 head-timing-info: old-timing-info: head results: tm/src/RcppExports.cpp:25:1: error: There is an unknown macro here somewhere. Configuration is required. If END_RCPP is a macro then please configure it. [unknownMacro] tm/src/copy.c:6:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] tm/src/init.c:23:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] tm/src/remove.c:49:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] tm/src/scan.c:35:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] tm/src/tdm.cpp:67:25: style: The scope of the variable 'term' can be reduced. [variableScope] tm/src/tdm.cpp:23:41: performance: Function parameter 'stopwords' should be passed by const reference. [passedByValue] tm/src/tdm.cpp:24:41: performance: Function parameter 'dictionary' should be passed by const reference. [passedByValue] tm/src/tdm.cpp:88:18: style: Consider using std::copy_if algorithm instead of a raw loop. [useStlAlgorithm] tm/src/tokenizer.cpp:32:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] diff: DONE