karthik / binder-test

15 stars 7 forks source link

.Rproj.user folder and minimal gitignore #4

Closed annakrystalli closed 5 years ago

annakrystalli commented 5 years ago

Transferring discussions in holepuch #25 as they're actually related to binder-test:

Regarding funny things popping up into the workspace, it's definitely causing some unexpected behaviours for me. For example, I just reran write_compendium_description() and now I also have an another file that oddly looks like it's modified:

image

image

DOH! I think I figured it out! It's actually an issue with binder-test repo. There's an .Rproj.user/ in the template repo where it seems information that gets overwritten during use of the package is cached. Is this necessary for the tutorial?

Re: the .Rhistory, it's because the .gitgnore in the binder-test repo is super minimal and doesn't seem to contain some defaults in an RStudio project .gitignore which I guess I've just come to expect to, ie:

.Rproj.user
.Rhistory
.RData
.Ruserdata
karthik commented 5 years ago

Awesome, thanks for catching this. :) Fixed.