[R] md5sum issues
c@|@ndr@ @end|ng |rom rgzm@de
Wed Feb 3 11:55:20 CET 2021
Thank you very much Duncan for your help. I'll try that.
Dr. Ivan Calandra
TraCEr, laboratory for Traceology and Controlled Experiments
MONREPOS Archaeological Research Centre and
Museum for Human Behavioural Evolution
56567 Neuwied, Germany
+49 (0) 2631 9772-243
On 03/02/2021 11:48, Duncan Murdoch wrote:
> In my opinion, you should run
> git config --global core.autocrlf false
> in an RStudio terminal session. That will set the git options so they
> don't mess up the md5sum values.
> You should also go to the RStudio options, and in the Code section,
> Saving tab, choose Serialization to be Posix (LF) and default text
> encoding to be UTF-8.
> Unfortunately, RStudio will still mess up the .Rproj file (see
> https://github.com/rstudio/rstudio/issues/1929); there's not much you
> can do about that. Just try not to commit the Windows version to the
> repository if any non-Windows users are sharing it.
> But do note that other people have different opinions. They argue
> that files should be converted to Windows native format by git. That
> works in some narrow use cases, but as soon as you try to extract a
> file from git on one system and work on it on another, it breaks.
More information about the R-help