wilkox / treemapify

🌳 Draw treemaps in ggplot2
http://wilkox.org/treemapify
213 stars 18 forks source link

Can't download successfully #14

Closed FisherPang closed 7 years ago

FisherPang commented 7 years ago

install_github('wilkox/ggfittext') Downloading GitHub repo wilkox/ggfittext@master from URL https://api.github.com/repos/wilkox/ggfittext/zipball/master Installing ggfittext "C:/PROGRA~1/R/R-3.4.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL "C:/Users/Fisher \ Pang/AppData/Local/Temp/RtmpQFpfSo/devtools32002db32240/wilkox-ggfittext-d3646e4" --library="C:/Users/Fisher Pang/Documents/R/win-library/3.4" --install-tests

wilkox commented 7 years ago

Thanks for the report @FisherPang. Could you please run Sys.getlocale(category = "LC_ALL") and post the output?

FisherPang commented 7 years ago

Hi, Wilkox, thanks for helps. My default languages is Chineses. The output is as followings:

LC_COLLATE=Chinese (Simplified)_China.936; LC_CTYPE=Chinese (Simplified)_China.936; LC_MONETARY=Chinese (Simplified)_China.936; LC_NUMERIC=C; LC_TIME=Chinese (Simplified)_China.936

any solution for this issue?

wilkox commented 7 years ago

I think I've fixed it – try installing with this command:

install_github('wilkox/ggfittext', ref = 'utf-8')

and let me know if it works.

FisherPang commented 7 years ago

Hi, wilkox, the outcome is as followings:

Downloading GitHub repo wilkox/ggfittext@utf-8 from URL https://api.github.com/repos/wilkox/ggfittext/zipball/utf-8 Installing ggfittext "C:/PROGRA~1/R/R-3.4.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL "C:/Users/Fisher \ Pang/AppData/Local/Temp/Rtmpo9wgXz/devtools1a6c3f50584b/wilkox-ggfittext-5e84e48" --library="C:/Users/Fisher Pang/Documents/R/win-library/3.4" --install-tests

Many thanks for the helps.

FisherPang commented 7 years ago

OMG, the 'ggfittext' can be installed successfully, but unfortunately, the 'treemapify' is facing the same issue.

wilkox commented 7 years ago

I've just made a similar fix to treemapify. Try

install_github('wilkox/treemapify', ref = 'utf-8')

and let me know if it works. Thanks for your patience in solving this!

FisherPang commented 7 years ago

install_github('wilkox/treemapify', ref = 'utf-8') Downloading GitHub repo wilkox/treemapify@utf-8 from URL https://api.github.com/repos/wilkox/treemapify/zipball/utf-8 Installing treemapify "C:/PROGRA~1/R/R-3.4.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL "C:/Users/Fisher \ Pang/AppData/Local/Temp/Rtmpo9wgXz/devtools1a6c5019275d/wilkox-treemapify-4207852" --library="C:/Users/Fisher Pang/Documents/R/win-library/3.4" --install-tests

That's fantastic. Thank you Wilkox.