Installation issue with nflscrapR package - r

Having issues downloading nflscrapR. Not sure if anyone else has this issue. Output from trying to install below:
Installing package into ‘C:/Users/cciar/OneDrive/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package 'nflscrapR' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'magrittr' was built under R version 3.6.3
Execution halted
ERROR: lazy loading failed for package 'nflscrapR'
* removing 'C:/Users/cciar/OneDrive/Documents/R/win-library/3.6/nflscrapR'
Error: Failed to install 'nflscrapR' from GitHub:
(converted from warning) installation of package ‘C:/Users/cciar/AppData/Local/Temp/Rtmp6diEQG/file5f042b671761/nflscrapR_1.8.3.tar.gz’ had non-zero exit status

Related

Error message when installing package expss

I'm trying to download the package 'expss' in R, but I get an error message that I don't know how to solve.
This is what R tells me after trying to install 'expss':
installing the source package ‘expss’
trying URL 'https://cran.rstudio.com/src/contrib/expss_0.11.2.tar.gz'
Content type 'application/x-gzip' length 5002788 bytes (4.8 MB)
==================================================
downloaded 4.8 MB
* installing *source* package ‘expss’ ...
** package ‘expss’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘expss’:
object 'mtfrm' not found whilst loading namespace 'expss'
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/expss’
Warning in install.packages :
installation of package ‘expss’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/86/04fdfqg9769g8w7ss25qnw600000gn/T/RtmpELbScA/downloaded_packages’
Any help appreciated!

Error to install gdalcubes in R on ubuntu 20.04.3

When i install gdalcubes on ubuntu 20.04 with R, i have this error :
installing to /home/obstetar/R/x86_64-pc-linux-gnu-library/4.1/00LOCK-gdalcubes/00new/gdalcubes/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
munmap_chunk(): invalid pointer
Aborted (core dumped)
ERROR: loading failed
removing ‘/home/obstetar/R/x86_64-pc-linux-gnu-library/4.1/gdalcubes’
Warning in install.packages :
installation of package ‘gdalcubes’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmp6dZFPa/downloaded_packages’

Download R Package via Github

I've been attempting to install the rethinking package for R. I've downloaded the prerequisites, including rstan, but am still getting the same error message. My code is as follows:
library(devtools)
install_github("rmcelreath/rethinking")
I keep getting this output:
Downloading GitHub repo rmcelreath/rethinking#master
Skipping 1 packages ahead of CRAN: StanHeaders
√ checking for file 'C:\Users\noahj\AppData\Local\Temp\RtmpK0JHwE\remotes2a60431d781f\rmcelreath-rethinking-f393f30/DESCRIPTION' ...
- preparing 'rethinking': (1.6s)
√ checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts (725ms)
- checking for empty or unneeded directories
- looking to see if a 'data/datalist' file should be added
- building 'rethinking_2.00.tar.gz' (699ms)
Installing package into ‘C:/Users/noahj/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package 'rethinking' ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'rstan' was built under R version 3.6.3
Execution halted
ERROR: lazy loading failed for package 'rethinking'
* removing 'C:/Users/noahj/Documents/R/win-library/3.6/rethinking'
Error: Failed to install 'rethinking' from GitHub:
(converted from warning) installation of package ‘C:/Users/noahj/AppData/Local/Temp/RtmpK0JHwE/file2a605bda3304/rethinking_2.00.tar.gz’ had non-zero exit status
Thank you to anyone with any insights and help!

Unable to install R pmml package on Red Hat

Trying to install pmml package using R Studio on Red Hat. I get the following output:
================================================
downloaded 136 KB
* installing *source* package 'pmml' ...
** package 'pmml' successfully unpacked and MD5 sums checked
** R
** data
** inst
** preparing package for lazy loading
Error : object 'str_interp' is not exported by 'namespace:stringr'
ERROR: lazy loading failed for package ?pmml?
* removing '/usr/lib64/R/library/pmml'
Warning in install.packages :
installation of package 'pmml' had non-zero exit status
You have outdated stringr package. Install the new stringr package from CRAN with:
install.packages(c("stringr"))

install staDA package

I tried to install the package statDA without success.These are the last rows of the message I received in RStudio:
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (geoR)
ERROR: dependency ‘MBA’ is not available for package ‘StatDA’
* removing ‘/home/matteo/R/i686-pc-linux-gnu-library/3.0/StatDA’
Warning in install.packages :
installation of package ‘StatDA’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpwirNxx/downloaded_packages’
I also tried to install the MBA package but actually the same error appeared.
I'm on a Ubuntu (12.04) machine running R 3.0.

Resources