Closed ciwaya closed 1 year ago
Please try installing this way:
install.packages('EDMAinR',
repos = c('https://psolymos.r-universe.dev', 'https://cloud.r-project.org'),
dependencies = TRUE)
Thank you for your reply. I got same error message.
install.packages('EDMAinR', repos = c('https://psolymos.r-universe.dev', 'https://cloud.r-project.org'), dependencies = TRUE)
library(EDMAinR) Error in library(EDMAinR) : there is no package called ‘EDMAinR’
I am using Mac.
I copied the warning message here. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun ERROR: compilation failed for package ‘htmltools’
The downloaded source packages are in ‘/private/var/folders/1s/8skwndz17z344nr42cngt37r0000gn/T/RtmpOvPpEe/downloaded_packages’
I did.
Still showing warning.
Warning in install.packages : unable to access index for repository https://cloud.r-project.org/bin/macosx/el-capitan/contrib/3.6: cannot open URL 'https://cloud.r-project.org/bin/macosx/el-capitan/contrib/3.6/PACKAGES' Packages which are only available in source form, and may need compilation of C/C++/Fortran: ‘htmltools’ ‘sass’ ‘minpack.lm’ ‘xfun’ ‘ape’ ‘rgl’
Looks like you are using R version 3.6 which is now almost 3 years old. You might want to consider upgrading R to 4.3. The warning tells you the R version for which the package index is not available (which is odd). You can also just replace the cloud.r-project.org from the repos argument with a different CRAN mirror.
Were you able to load EDMAinR?
The warning says that there are no binary versions of those packages but those might have been installed from source.
Hello, I used Latest version of R studio
RStudio 2023.06.0+421 "Mountain Hydrangea" Release (583b465ecc45e60ee9de085148cd2f9741cc5214, 2023-06-05) for macOS Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.06.0+421 Chrome/110.0.5481.208 Electron/23.3.0 Safari/537.36
Should I use R not R studio? I can't install.
Your R version is independent of RStudio, and RStudio is an IDE for R not R itself. Install R from r-project.org
Thank you very much for all your help! I installed!
You are welcome.
Hello,
I can't install the package. my R version is 2023.06.0+421 (2023.06.0+421)
I typed if (!require(EDMAinR)) { if (!require(remotes)) install.packages("remotes") remotes::install_github("psolymos/EDMAinR") } 1 yes
Then library(EDMAinR)
Error message is here Error in library(EDMAinR) : there is no package called ‘EDMAinR’
Warning messages: 1: In library(package, lib.loc = lib.loc, character.only = TRUE, ... : there is no package called ‘EDMAinR’ 2: In i.p(...) : installation of package ‘tinytex’ had non-zero exit status 3: In i.p(...) : installation of package ‘bslib’ had non-zero exit status 4: In i.p(...) : installation of package ‘shapes’ had non-zero exit status 5: In i.p(...) : installation of package ‘rmarkdown’ had non-zero exit status 6: In i.p(...) : installation of package ‘htmlwidgets’ had non-zero exit status
could you help me to solve this isuue?