R/adverbs.R
discretly.Rd
Prevent a funtion from printing message or warning
discretly(.f)
the function to wrap
an error if any, a warning if any, the result if any
if (FALSE) { # \dontrun{ discrete_mat <- discretly(matrix) discrete_mat(1:3, 2) } # }