nbastatR not working in RStudio build 353 - r

Whenever I try to run the code install.packages("nbastatR") the following error pops up:
Installing package into ‘AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘nbastatR’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at:
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
I tried downloading from the Github repos through:
install.packages('devtools', lib='~/R/lib')
devtools::install_github('abresler/nbastatR')
But still no success.
Error:
Warning in install.packages :
package ‘nbastatR’ is not available for this version of R

Related

Problems installing R package heplots

I tried to install R package "heplots" in R 4.1.3 using Rstudio but I get the following error:
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open destfile 'C:\Users\myuser\AppData\Local\Temp\RtmpiIlWmJ\file821048e42b13', reason 'No such file or directory'
Installing package into ‘C:/Users/myuser/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open destfile 'C:\Users\myuser\AppData\Local\Temp\RtmpiIlWmJ\file8210644e40c6', reason 'No such file or directory'
Warning in install.packages :
package ‘heplots’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/4.1:
cannot open destfile 'C:\Users\myuser\AppData\Local\Temp\RtmpiIlWmJ\file8210db01a9c', reason 'No such file or directory'
This appeared when I used the install.packages function. If I download the .tar.gz file from CRAN and try to install it that way I get this message:
Installing package into ‘C:/Users/guill/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
ERROR: dependency 'car' is not available for package 'heplots'
* removing 'C:/Users/myuser/Documents/R/win-library/4.1/heplots'
Warning in install.packages :
installation of package ‘C:/Users/myuser/Downloads/heplots_1.3-9.tar.gz’ had non-zero exit status
So I thought that if I install "car" then it would work. The problem is that the same happens with car and a lot of new dependenies appear (also the imports need to be installed), and when I try to install those manually they also have their own dependencies that need installing. I surrendered after the fourth layer of dependencies. Anyone knows how it should be done or am I stuck on manual dependency hell?

Fail to install packages in RStudio

I want to install package arulesViz but RStudio returned me this:
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Jacque de l'est/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'
Warning in install.packages :
package ‘arulesViz’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/4.1:
cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/PACKAGES'
How to solve this?
R needs Rtools to build packages from source--just download and install it. :)

R studio stopped working. Uninstall and re install but packages all cant be detected

I tried running a pacman package and found it could not be installed. I tried installing tidyverse package individually and it says error. Now R is not able to run since all packages cannot be installed.
Lastly, uninstalled R studio and re install but it is still facing an issue.
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'
Installing package into ‘C:/Users/Syed Ismail/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/src/contrib:
cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES'
Warning in install.packages :
package ‘pacman’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/bin/windows/contrib/4.0:
cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/PACKAGES'```

Why don't I install package "plotGoogleMaps"?

I ditn't install this package. An error has occurred:
install.packages("plotGoogleMaps")
Installing package into ‘C:/Users/ADMIN/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘plotGoogleMaps’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Can you help me?
try install.packages("plotGoogleMaps", repos="http://R-Forge.R-project.org")

Cant install package rwf on multiple R versions

I cant install package rwf. I am getting error:
Installing package into ‘C:/Users/This_user/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘rwf’ is not available (for R version 3.4.3)
Same situation happened for version 3.4.0. I cant figure out what is a problem here.
Thank you in advance.

Resources