Error during TIBCO Enterprise Runtime for R (TERR) package installation "Malformed repository(?): cannot find any of c("PACKAGES.gz", "PACKAGES") in ..."
book
Article ID: KB0070870
calendar_today
Updated On:
Products
Versions
Spotfire Enterprise Runtime for R
4.0 and higher
Description
Description:
Package installation may fail and reports that the CRAN/TRAN repository is malformed.
Symptoms:
> install.packages("dplyr")
Warning message:
In available.packages(contriburl = contriburl, type = type) : Malformed repository(?): cannot find any of c("PACKAGES.gz", "PACKAGES") in "https://tran.tibco.com/bin/windows/contrib/3.2"
Warning messages:
1: In available.packages(contriburl = contriburl, type = type) : Malformed repository(?): cannot find any of c("PACKAGES.gz", "PACKAGES") in "https://cran.rstudio.com/bin/windows/contrib/3.2"
2: In install.packages("dplyr") : Could not download any of the desired packages
NULL
>
Cause: TERR cannot connect to the CRAN / TRAN package repositories.
Environment
OS: All Supported Operating Systems
Resolution
1). Start Internet Explorer and verify that you are able to load the following URL:
https://cran.rstudio.com/bin/windows/contrib/3.2
Change the URL so it matches the URL from the warning message. If you cannot access the URL in Internet Explorer, you may need to go to Internet Explorer > Tools > Internet Options > Connections > LAN settings and configure a proxy, or otherwise make sure you have a working Internet connection.
2). Once you have verified that Internet Explorer has access to the CRAN/TRAN repositories, start the TERR Console and run the command setInternet2(TRUE) before proceeding with the package installation:
> setInternet2(TRUE)
> install.packages("dplyr")
3). If the previous step failed, open Internet Explorer, go to Tools > Internet Options > Security > Internet, and lower the security level.
Issue/Introduction
Error during TIBCO Enterprise Runtime for R (TERR) package installation "Malformed repository(?): cannot find any of c("PACKAGES.gz", "PACKAGES") in ..."