bash and sed may not be available on Windows
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M exampleSite/R/build.R → exampleSite/R/build.R
@@ -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