Closed psychelzh closed 2 years ago
Maybe an alternative is to use "gert" package?
Thanks for letting me know. Not sure why I forgot to use processx::run()
on gittargets:::tar_git_binary()
instead of system2("git", ...)
, but the latest commits should fix it.
Unfortunately I can't use gert
because libgit2
is incompatible with Git LFS.
Seems I misread the docs of processx::run()
. Look like we'll need to temporarily set HOME
after all.
Looks to be fixed this time: https://github.com/ropensci/gittargets/runs/7939003978
Prework
gittargets
package itself and not a user error, known limitation, or issue from another package thatgittargets
depends on. For example, if you get errors runningtar_make_clustermq()
, try isolating the problem in a reproducible example that runsclustermq
and notgittargets
. And for miscellaneous troubleshooting, please post to discussions instead of issues.Description
This is just the same as https://github.com/yihui/crandalf/issues/24. On Windows OS,
tar_git_ok()
complains even if the user name and email are configured globally. This is simply because R for Windows setsHOME
environment as Documents folder. Hopefully this is taken care of here.Reproducible example
Created on 2022-08-20 with reprex v2.0.2