Calling deparse
and joining all the returned lines into a
single line, separated by whitespace, and then cleaning up all the
duplicated whitespace (except for excessive whitespace in strings
between single or double quotes).
deparse_to_one_line(x)
object to deparse
string