ronkeizer / vpc

R library to create visual predictive checks (VPC)
Other
36 stars 20 forks source link

Package installation failure with non-English locale. #31

Closed Sibojang9 closed 8 years ago

Sibojang9 commented 8 years ago

In Windows 7 English version, if the current language for non-Unicode program is set to be other than English, the package won't install successfully. It keeps saying error and displays random characters like this http://www.pinyinjoe.com/images/faq-sina-uc-installer.jpg. Consequently, it has to be "English" in the Win7 - Control Panel -Region and Language-administrative- change system locale. However, other R packages do not see this kind of error with the non-English locale.

ronkeizer commented 8 years ago

hi sibojan, sorry I have little experience with non-English locale. However, there is nothing I specifically do in the code to keep it to English-only, so I'm not sure what is causing this behavior. Let me know if you have a suggestion how to fix it in the code.

Sibojang9 commented 8 years ago

Hi Ron,

Thank you for your feedback. I don't know how to fix that at this time point. My workaround is that changing the windows locale back to non-English once I have installed the package successfully. So far, I haven't seen this problem happened to other R packages. For you records, I will send you the problem screenshot through email. Maybe it can be fixed when we get more input.

On Mon, Aug 22, 2016 at 12:06 PM, Ron Keizer notifications@github.com wrote:

hi sibojan, sorry I have little experience with non-English locale. However, there is nothing I specifically do in the code to keep it to English-only, so I'm not sure what is causing this behavior. Let me know if you have a suggestion how to fix it in the code.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ronkeizer/vpc/issues/31#issuecomment-241462933, or mute the thread https://github.com/notifications/unsubscribe-auth/ALQWO4VE-4aeioiD0_rGbu215kIAuoXDks5qickRgaJpZM4JoDjr .

Sibojang9 commented 8 years ago

I tried it again and found this issue has been solved. I think the new version of devtools got it straightened out. So, no problem with install_github("ronkeizer/vpc") anymore. Thank you,

ronkeizer commented 8 years ago

thanks for letting me know :)

On Sat, Aug 27, 2016 at 7:00 PM -0700, "Sibo Jiang" notifications@github.com wrote:

I tried it again and found this issue has been solved. I think the new version of devtools got it straightened out. So, no problem with install_github("ronkeizer/vpc") anymore.

Thank you,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.