File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -774,21 +774,19 @@ check_syntax <- function(pedantic = FALSE,
774774 echo = is_verbose_mode(),
775775 echo_cmd = is_verbose_mode(),
776776 spinner = quiet && interactive(),
777- stdout_line_callback = function (x , p ) {
778- if (! quiet ) cat(x )
779- },
780777 stderr_callback = function (x , p ) {
781778 message(x )
782779 },
783780 error_on_status = FALSE
784781 )
785782 )
783+ cat(run_log $ stdout )
786784 if (is.na(run_log $ status ) || run_log $ status != 0 ) {
787785 stop(" Syntax error found! See the message above for more information." ,
788786 call. = FALSE )
789787 }
790788 if (! quiet ) {
791- message(" Stan program is syntactically correct" );
789+ message(" Stan program is syntactically correct" )
792790 }
793791 invisible (TRUE )
794792}
You can’t perform that action at this time.
0 commit comments