zhilizheng / SBayesRC

GNU General Public License v3.0
25 stars 5 forks source link

problem while installing #10

Closed meihsinsu closed 1 year ago

meihsinsu commented 1 year ago

Dear zhili,

Thanks for the great package. While trying to install SBayesRC package, I received an error message listed below:

ERROR: compilation failed for package ‘SBayesRC’

I was installing it in a Linux server and our R version is 4.1.1. Could you help me with this? Thank you very much.

zhilizheng commented 1 year ago

Hi @meihsinsu , Thanks for the report. Could you give me more log? It only prompted the package install failed, but didn't give us the reason.

You need to install the dependencies first: install.packages(c("Rcpp", "data.table", "stringi", "BH", "RcppEigen"))

If this runs without any problem, then you can install our package again; and if it still doesn't work, report with more details (more lines of error prompt). If this runs with problem, you need to fix your R first.

Regards, Zhili

meihsinsu commented 1 year ago

Dear Zhili, Many thanks for your reply. I requested our IT to help me install this package, and it can be installed successfully now. I guess it might be the problem of user permission. Thank you very much.

zhilizheng commented 1 year ago

Glad to see the problem solved. You are welcome.

Regards, Zhili