ImperialCollegeLondon / epidemia

epidemia package
https://imperialcollegelondon.github.io/epidemia/index.html
47 stars 15 forks source link

Installing error in Windows 10 #65

Open xmusphlkg opened 2 years ago

xmusphlkg commented 2 years ago

I try to install Epidemia through devtools::install_github("ImperialCollegeLondon/epidemia") in R 4.1.1, Windows 10. However, I got an error. Error: Failed to install 'epidemia' from GitHub: System command 'Rcmd.exe' failed, exit status: 1, stdout + stderr (last 10 lines): E> ** inst E> ** byte-compile and prepare package for lazy loading E> ** help E> Warning in parse(n = -1, file = file, srcfile = NULL, keep.source = FALSE, : E> argument encoding="UTF-8" is ignored in MBCS locales E> Error : invalid multibyte character in parser at line 83 E> ERROR: installing Rd objects failed for package 'epidemia' E> * removing 'C:/Users/kanggle/AppData/Local/Temp/RtmpuCCv95/Rinste2d47e965612/epidemia' E> ----------------------------------- E> ERROR: package installation failed

I have no idea how to resolve this error. Install through the binary is fine, but the version seems too old and lake some critical functions. Thank you.

xmusphlkg commented 2 years ago

And using install.packages() to install epidemia is fine, the error seems only to show in installing development version.