Skip to content
Prev 63063 / 63421 Next

Specifying a long string literal across several lines

Tomas,

Here is a good example of where this functionality would be useful:
https://github.com/R-ArcGIS/arcgislayers/blob/2b29f4c254e7e5a1dadce8d4b0015a70dfae39d4/R/arc-open.R#L19-L56

In order to prevent R CMD check notes I have to use `paste0()` to
concatenate long URLs. If we were able to use `\` to
separate the string across multiple lines, it would make the solution much
nicer!

On Mon, Jun 2, 2025 at 3:19?AM Tomas Kalibera <tomas.kalibera at gmail.com>
wrote: