install.packages("~/Desktop/lecture1/data/phyloch_1.5-3_R_x86_64-apple-darwin10.8.0.tar", repos = NULL)
Installing package into ‘/Users/lixingguang/Library/R/x86_64/4.1/library’
(as ‘lib’ is unspecified)
Error in install.packages : type == "both" cannot be used with 'repos = NULL'