Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: dependency ‘foreign’ is not available for package ‘RStata’ #24

Open
Axo-Fv opened this issue Feb 1, 2022 · 0 comments
Open

Comments

@Axo-Fv
Copy link

Axo-Fv commented Feb 1, 2022

Hello everyone...
Today I tried to install RStata but I had the following output when I used install.packages('RStata'):
Warning in install.packages :
dependency ‘foreign’ is not available
trying URL 'https://cran.rstudio.com/src/contrib/RStata_1.1.1.tar.gz'
Content type 'application/x-gzip' length 6460 bytes
==================================================
downloaded 6460 bytes

ERROR: dependency ‘foreign’ is not available for package ‘RStata’
* removing ‘/home/Axo/anaconda3/envs/rstudio/lib/R/library/RStata’
Warning in install.packages :
installation of package ‘RStata’ had non-zero exit status

The downloaded source packages are in
‘/tmp/Rtmpj8Bmgw/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done

Next to I typed install.packages('https://cran.rstudio.com/src/contrib/RStata_1.1.1.tar.gz')and so:
Warning in install.packages :
package ‘https://cran.rstudio.com/src/contrib/RStata_1.1.1.tar.gz’ is not available (for R version 3.6.1)

By the way, I'm using Anaconda and RStudio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant