Open EllaKaye opened 4 months ago
Interesting. This seems to be done by R Markdown, because the original source code has the command in one line, unwrapped: https://github.com/r-devel/rcwg/blob/2599e690206cf0a86bf0b1a6fa850bb712daeb24/working_documents/install_r_macos.Rmd#L205-L207
It may also be possible to pre-wrap the command, escaping the newlines so that it would still work when copied and pasted into the terminal:
sed -i.bak \ "s|\$(GIT) svn info|$TOP_SRCDIR/.github/scripts/svn-info.sh|" \ "$TOP_SRCDIR/Makefile.in"
Interesting. This seems to be done by R Markdown, because the original source code has the command in one line, unwrapped: https://github.com/r-devel/rcwg/blob/2599e690206cf0a86bf0b1a6fa850bb712daeb24/working_documents/install_r_macos.Rmd#L205-L207
It may also be possible to pre-wrap the command, escaping the newlines so that it would still work when copied and pasted into the terminal: