results = 'hide' should try to collapse output, e.g., merge the source blocks below:

nrow(iris)
ncol(iris)
iris

Other types of output (such as messages) will interrupt the collapsed block:

nrow(iris)
message(ncol(iris))
#> 5
iris