Unable to locate package RCurl - R in Streamlit

Hello guys

Guys, I’m having problems deploying my streamlit application, I include the RCurl package in the packages.txt list, however the deploy is interrupted with the following message:

Unable to locate package RCurl

Another interesting thing:

The first time I deployed, RCurl was not included, and my application ran normally.

However when I performed a second deployment of the same application, when executing a function dependent on this package it returned “there is no package called RCurl

Importantly, this same function was performed on the first deploy.

From then on I tried both ways:

  • listing the RCurl in packages.txt, and
  • not listing RCurl in packages.txt

in the first form the deploy is completed but when executing the function the following message is returned “there is no package called RCurl

and when trying the second way the deploy is interrupted with the following message: ‘Unable to locate package RCurl

Can anyone give me a hint of a possible solution?

Thanks!

Hi @DANILO_SANTOS,

Can you share the contents of your requirements.txt file?

Hi @Caroline,

The content of my requirements.txt file is just one line listing the streamlit:

streamlit

And the content of my packages.txt file is as follows:

r-base
r-base-dev
r-cran-lubridate
r-cran-RCurl

Thanks!

@DANILO_SANTOS can you share the link to your app?

@Caroline

This is the link GitHub - daniloasdotcom/susteste

and this https://daniloasdotcom-susteste-main-7gj911.streamlitapp.com/