mrkaye97 / slackr

An R package for sending messages from R to Slack
https://matthewrkaye.com/slackr/
Other
307 stars 83 forks source link

Garbled output in `3.0.1` #165

Closed mrkaye97 closed 3 years ago

mrkaye97 commented 3 years ago

Apparently lapply was garbling some output in v3.0.1.

Example:

c("summary(lm(Petal.Width ~ Sepal.Width, data = iris))", "#> ", "#> Call:", "#> lm(formula = Petal.Width ~ Sepal.Width, data = iris)", "#> ", "#> Residuals:", "#>      Min       1Q   Median       3Q      Max ", "#> -1.38424 -0.60889 -0.03208  0.52691  1.64812 ", "#> ", "#> Coefficients:", "#>             Estimate Std. Error t value Pr(>|t|)    ", "#> (Intercept)   3.1569     0.4131   7.642 2.47e-12 ***", "#> Sepal.Width  -0.6403     0.1338  -4.786 4.07e-06 ***", "#> ---", "#> Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1", 
"#> ", "#> Residual standard error: 0.7117 on 148 degrees of freedom", "#> Multiple R-squared:  0.134,  Adjusted R-squared:  0.1282 ", "#> F-statistic: 22.91 on 1 and 148 DF,  p-value: 4.073e-06")