Suppress messages from expose_function

Please also provide the following information in addition to your question:

  • Operating System: Ubuntu 18.04.1
  • brms Version: 2.6

Hello!

Is it possible to suppress the overly long message produced by the following code?

expose_functions(mods[[1]], vectorize = T, showOutput = F, verbose = F, show_compiler_warnings = F)

It seems that it displays the complete compiled code!

The result is terribly long. It was not really a problem when displayed in the console, but while using Rmarkdown, it takes so much place that it makes eventually Rstudio bug!

Thank you!
Lucas

Does this still occur with rstan 2.18.2 from CRAN?

I currently run this version :)

@bgoodri any idea?

It is a bug. The sourceCpp function uses message for compiler warnings rather than stdout.