-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install_github() failed by LazyData: true and git-lfs #637
Comments
I think this is related to when the data files are fetched via git-lfs, perhaps you need to avoid using I don't think there is anything we could do in remotes to change this unfortunately. Perhaps you could open an issue at https://community.rstudio.com and see if other community members have advice on best practices when using git-lfs? |
It simply isn't true that there is "nothing you could do" in remotes. remotes should support 'git-lfs clone' just like it supports 'git clone'. LFS is the recommended way to support binary files in git, it isn't a "niche" solution. |
* Allows pkg to be installed via remotes::install_github * Avoids issue described in r-lib/remotes#637
Hi, we had an install error when running
devtools::install_github("braverock/FactorAnalytics")
:The error is triggered by
LazyData: true
when installed from remote, and only seems to occur in repos with git-lfs objects, see carlanetto/M4comp2018#1 and braverock/FactorAnalytics#47.devtools::install_github("braverock/FactorAnalytics")
works whenLazyData: true
is removed from DESCRIPTION, we can also clone and build from local source without error.Thanks.
The text was updated successfully, but these errors were encountered: