This is now resolved:
Upgraded to the latest R and RStudio versions and downloaded the warbleR package using devtools.
Error Information:
I recently downgraded my R version from 3.6.2 to 3.2.1 so I could use the package warbleR due to
warning message (package 'warbleR' is not available for R version 3.6.2).
Now, when trying to install any package I get this error:
Error in install.packages : Line starting '<!DOCTYPE HTML PUBLI ...' is malformed!
I've tried so far:
-
Checked syntax, typos and internet connexion
-
Install different packages (ggplot2, lmer4, dplyr...) --> all have the same error
Warning in install.packages :
dependencies (...) are not available
also installing the dependencies (...)
Error in install.packages : Line starting '<!DOCTYPE HTML PUBLI ...' is malformed! -
Install package Groundhog (source: datacolada.org/95)
-
Uninstall and reinstall R and RStudio
-
Changed the repo and the download method:
- install.packages("dplyr",repos = c(CRAN = "https://www.stats.bris.ac.uk/R/")
- install.packages("dplyr", method = "libcurl")
-
Change repositories from Global Options -> Packages
-
Global Options -> Packages --> unchecked Use secure download method for HTTP
System Information:
- RStudio Edition: Desktop
- RStudio Version: 1.4.1103
- Mac OS Version: Big Sur 11.1 version
- R Version: 3.2.1