The .gitignore in inst/infrastrucure does not survive builing the R package.
The .nojekyll does, so it must be specific to this filename and not a
property of hidden files. Hadley does not include .gitignore in
.Rbuildignore, which further supports that it is ignored by default.