stewid / SimInf

A framework for data-driven stochastic disease spread simulations
http://stewid.github.io/SimInf/
GNU General Public License v3.0
33 stars 14 forks source link

Not Able to Install the Package #31

Closed yijunwang0805 closed 4 years ago

yijunwang0805 commented 4 years ago

Hi, I am trying install the package. But there is an error. Could you please take a look at it?

> install.packages("SimInf")
Warning in install.packages :
  unable to access index for repository https://cran.rstudio.com/src/contrib:
  无法打开URL'https://cran.rstudio.com/src/contrib/PACKAGES'
Installing package into ‘C:/Users/Administrator/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
  unable to access index for repository https://cran.rstudio.com/src/contrib:
  无法打开URL'https://cran.rstudio.com/src/contrib/PACKAGES'
Warning in install.packages :
  package ‘SimInf’ is not available (for R version 4.0.2)
Warning in install.packages :
  unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/4.0:
  无法打开URL'https://cran.rstudio.com/bin/windows/contrib/4.0/PACKAGES'

无法打开 means "unable to open".

stewid commented 4 years ago

Hi,

Not sure why it did not work, but I think it was a temporary problem. I have successfully installed SimInf today on a Windows machine using R version 4.0.2.

Please reopen the issue if it still doesn't work.