Is there another source to install papaja package? - r

I'm trying to install papaja package on my windows machine. But I'm getting the following error message
Installing 3 packages: bookdown, rmdfiltr, zip
Installing packages into ‘C:/Users/cophuser/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Error: Failed to install 'papaja' from GitHub:
(converted from warning) unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.6:
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.6/PACKAGES'
I used this command to install papaja
# Install devtools package if necessary
if(!"devtools" %in% rownames(installed.packages())) install.packages("devtools")
# Install the stable development verions from GitHub
devtools::install_github("crsh/papaja")
# Install the latest development snapshot from GitHub
devtools::install_github("crsh/papaja#devel")
Please let know what should I do if you know how to solve this issue

I had the same problem, and I solved it by updating my Rtools to v.4.
Check here: https://cran.r-project.org/bin/windows/Rtools/

Related

Unable to install RTools even after updating to latest version of R [duplicate]

I've installed devtools for R, but when I call the library with:
library(devtools)
I get the following output:
WARNING: Rtools is required to build R packages, but is not currently installed.
Please download and install Rtools 3.1 from http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools().
So I executed the following code:
install.packages("Rtools", repos = "http://cran.r-project.org/bin/windows/Rtools/")
And I get the following output:
Installing package into ‘C:~/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository http://cran.r-project.org/bin/windows/Rtools/bin/windows/contrib/3.0
Warning message:
package ‘Rtools’ is not available (for R version 3.0.2)
I would appreciate any help that's out there to get Rtools onto my machine so I can call the devtools library. Thank you!
Rtools is not a package. See here: https://cran.r-project.org/bin/windows/Rtools/

Rstudio has been throwing errors since my attempt to install the devtools package [duplicate]

I've installed devtools for R, but when I call the library with:
library(devtools)
I get the following output:
WARNING: Rtools is required to build R packages, but is not currently installed.
Please download and install Rtools 3.1 from http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools().
So I executed the following code:
install.packages("Rtools", repos = "http://cran.r-project.org/bin/windows/Rtools/")
And I get the following output:
Installing package into ‘C:~/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository http://cran.r-project.org/bin/windows/Rtools/bin/windows/contrib/3.0
Warning message:
package ‘Rtools’ is not available (for R version 3.0.2)
I would appreciate any help that's out there to get Rtools onto my machine so I can call the devtools library. Thank you!
Rtools is not a package. See here: https://cran.r-project.org/bin/windows/Rtools/

Unable to download 'blotter' package

I'm currently running on MacOS Sierra, 10.12.6 and I'm running Rstudio Version 1.2.5033.
I'm working on a project that requires the use of the 'quantstrat' package.
I've been trying to install 'quantstrat' package using
"devtools::install_github("braverock/quantstrat")"
and I'm constantly getting this error.
"Downloading GitHub repo braverock/quantstrat#master
Skipping 1 packages not available: blotter
Installing 4 packages: blotter, FinancialInstrument, foreach, iterators
Installing packages into ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library’
(as ‘lib’ is unspecified)
Error: Failed to install 'quantstrat' from GitHub:
(converted from warning) package ‘blotter’ is not available (for R version 3.6.3)"
I've tried upgrading my version of Rstudio and find alternative sources to download 'blotter' but I'm still unable to do so.
Anyone has any idea?

Error in R package installation "This version of R is not set up to install source packages"

I want to download topGO by biocManager. Then I was faced with compilation failed for package ‘SparseM’. I tried to upgrade gcc with brew. However, after upgrade, I can not install any packages.
> install.packages("shiny")
Installing package into ‘/usr/local/lib/R/3.5/site-library’
(as ‘lib’ is unspecified)
Error in install.packages : This version of R is not set up to install source packages
If it was installed from an RPM, you may need the R-devel RPM
Warning message:
In .rs.normalizePath(libPaths) :
path[2]="/usr/local/Cellar/r/3.5.1/lib/R/library": No such file or directory
I faced the same issue with RStudio after a brew upgrade command on a terminal.
I simply had to restart RStudio and it worked fine.

Install Rtools on R version 3.0.2

I've installed devtools for R, but when I call the library with:
library(devtools)
I get the following output:
WARNING: Rtools is required to build R packages, but is not currently installed.
Please download and install Rtools 3.1 from http://cran.r-project.org/bin/windows/Rtools/ and then run find_rtools().
So I executed the following code:
install.packages("Rtools", repos = "http://cran.r-project.org/bin/windows/Rtools/")
And I get the following output:
Installing package into ‘C:~/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository http://cran.r-project.org/bin/windows/Rtools/bin/windows/contrib/3.0
Warning message:
package ‘Rtools’ is not available (for R version 3.0.2)
I would appreciate any help that's out there to get Rtools onto my machine so I can call the devtools library. Thank you!
Rtools is not a package. See here: https://cran.r-project.org/bin/windows/Rtools/

Resources