Dear r-cran-rcppparallel maintainer, For this issue, can we use the 'dpkg-query' command to replace 'dpkg -l'? For example, replacing the line in the rules file '' tbbversion=`dpkg -l libtbb-dev | grep 'ii' | sed 's/^.*libtbb-dev:[a-z0-9]\+[[:space:]]\+\([0-9.]\+\)-[0-9]\+[[:space:]]\+.*/\1/'`;'' with '' tbbversion=$$(dpkg-query -W -f='$${Version}' libtbb-dev | sed 's/-[^-]*$$//'); ''I have test that locally, and it works well.Details can be found in the attached file.
Gui-Yue Best Regards
fixr-r-cran-rcppparallel_parsing_error.patch
Description: Binary data