bash and sed may not be available on Windows
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
file.copy('content/_index.markdown', '../README.md', overwrite = TRUE)
|
||||
system("sed -i '' -e '1,6d' -e '34,38d' ../README.md")
|
||||
if (Sys.which('sed') != '') system("sed -i '' -e '1,6d' -e '34,38d' ../README.md")
|
||||
cat(
|
||||
'[](https://xmin.yihui.name)\n',
|
||||
file = '../README.md', append = TRUE
|
||||
|
||||
Reference in New Issue
Block a user