Re: [R-pkg-devel] .gitkeep file to prevent folder from erasing when empty

2016-10-04 Thread Uwe Ligges
On 04.10.2016 01:58, Luck Buttered wrote: Hello everyone: Inside .Rbuildignore, I put the following line: ^OutputFolder$ Then indicate that you just want to ignore files within OutputFolder. Best, Uwe Ligges However, I notice that the extdata/OutputFolder still disappears if there

Re: [R-pkg-devel] .gitkeep file to prevent folder from erasing when empty

2016-10-03 Thread Luck Buttered
Hello everyone: Inside .Rbuildignore, I put the following line: ^OutputFolder$ However, I notice that the extdata/OutputFolder still disappears if there are no files inside of it. (I am thinking this happens when I push changes to Github). I am trying to keep the extdata/OutputFolder present (wh

Re: [R-pkg-devel] .gitkeep file to prevent folder from erasing when empty

2016-10-03 Thread Luck Buttered
Hello everyone: Thank you for the helpful suggestions! I moved the directory name to the .Rbuildignore file, as Johannes suggested. Uwe, thanks for bringing up that topic! Yes, I read that we cannot automatically write files to user's filespace (outside of tempdir()). So, there is nothing in our

Re: [R-pkg-devel] .gitkeep file to prevent folder from erasing when empty

2016-10-03 Thread Uwe Ligges
On 03.10.2016 08:13, Johannes Ranke wrote: Hi, You can include the .gitkeep file in .Rbuildignore. This will prevent it from being present in the package you test or submit, but git willl still see it and keep the directory. Johannes Am Montag, 3. Oktober 2016, 00:03:33 schrieb Luck Buttered

Re: [R-pkg-devel] .gitkeep file to prevent folder from erasing when empty

2016-10-02 Thread Johannes Ranke
Hi, You can include the .gitkeep file in .Rbuildignore. This will prevent it from being present in the package you test or submit, but git willl still see it and keep the directory. Johannes Am Montag, 3. Oktober 2016, 00:03:33 schrieb Luck Buttered: > Hello everyone: > > I am working on a vi

[R-pkg-devel] .gitkeep file to prevent folder from erasing when empty

2016-10-02 Thread Luck Buttered
Hello everyone: I am working on a vignette for a package that outputs reports for users. As part of the vignette, users can manually run eval=FALSE code that creates example reports. These example reports that they create can be saved to an output folder within extdata (extdata/OutputFolder). Whe