Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inform() does not include trailing newlines in condition messages #880

Closed
lionel- opened this issue Dec 30, 2019 · 1 comment
Closed

inform() does not include trailing newlines in condition messages #880

lionel- opened this issue Dec 30, 2019 · 1 comment

Comments

@lionel-
Copy link
Member

lionel- commented Dec 30, 2019

Causes trouble when message is captured, cf discussion in r-lib/usethis#937.

@krlmlr
Copy link
Member

krlmlr commented Dec 30, 2019

I wonder if inform() should return invisibly too.

f <- function() {
  rlang::inform("hi")
  rlang::inform("ho")
}
f()
#> hiho
#> NULL

Created on 2019-12-30 by the reprex package (v0.3.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants