Unable to download 'blotter' package - r

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?

Related

Error installing package RandomFields from Package Archive in R

I'm trying to install the package georob, which is no longer on CRAN. In order to install georob, I need first to install the package RandomFields which is no longer on CRAN neither. Therefore, I downloaded the file RandomFields_3.3.tar.gz from CRAN Archive and then tried to install the package RandomFields with the following command in R:
install.packages(pkgs = "C:/documents/RandomFields_3.3.tar.gz", type="source", repos=NULL)
When I do this I get the following error:
make: *** [C:/PROGRA~1/R/R-42~1.0/etc/x64/Makeconf:257: brownresnick.o] Error 1
ERROR: compilation failed for package 'RandomFields'
My installations are as follows:
Windows 10 Home, 64-bit
R version 4.2.0
R Studio 2022.07.2+576
Rtools42 for windows
Any idea how I can install georob and/or RandomFields?
Thank you very much!

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/

Is there another source to install papaja package?

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/

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/

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