zarquon42b / Rvcg

R-package providing mesh manipulation routines from VCGLIB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keep vcgSmooth quiet

dmenne opened this issue · comments

vcgSmooth and some other functions produce cat-output that can only be surpressed by nasty capture.output gymnastics. By default, all functions should be quiet. An option verbose could be added to force chatty mode.

I do not agree to the default being silent, because sometimes output hints at some problems. But I agree, that there should be an option to disable it.
Actually, vcgSmooth does not produce any output. But some other do:
vcgClean has an option silent. The only functions that procuce output without option "silent" are vcgIsolated, vcgImport (in case of cleaning on import) and vcgQEdecim (and a warning message in vcgUpdateNormals). I added option silent for those (default: silent = FALSE) and pushed to master.

Sorry, my fault, the big talker is vcgQEdecim. Thanks for the quick fix, anyway, and for your work on the package in general.