-
Notifications
You must be signed in to change notification settings - Fork 43
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
the command "download_google_material()" does not work #70
Comments
I don't think this is an issue with the icons package. The error is in the unzipping, Just for others who may stumble on this in the future, I had a different error when I tried to run
The solution was to give R a bit more time to complete the download. The default is 60 seconds but likely need longer, for example, allow for 10 minutes using If you do this, afterwards it's probably a good idea to change the timeout back to the default:
|
Thanks for responding to this @garthtarr - I thought I had earlier but evidently not. |
@mitchelloharawild the "latest" 4.0.0 release source file is a lot smaller (~300MB) and still appears to have the SVG files: https://github.com/google/material-design-icons/archive/refs/tags/4.0.0.zip Not sure if pointing to that is a sustainable long term solution though for two reasons: (1) not clear that future releases will be similarly smaller than the current master and (2) I can't work out how to automatically link to the "latest source" - there is some ability to use |
My concern with using releases is that I expect an upcoming release would be 2.2GB. When I wrote the One option would be to download & use their SVG font files only. I wanted to avoid this because font files aren't as easy to import and work with, but 2.2GB is insane. |
Just checked, the |
Yeah... from what I can see there's not an official way to do that. Some ad hoc solutions here https://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo/70729494#70729494 but nothing I can see that you'd really want to rely on. |
git sparse checkout, or svn sounds promising - but I agree, there doesn't seem to be anything suitable for this package. |
the command "download_google_material()" does not work
error is
I find this file updated before 5 days, it's likely some files do not exist. Could you please give me a solution? Thank you very much.
The text was updated successfully, but these errors were encountered: