I am using the source
if (!require("devtools")) install.packages("devtools")
devtools::install_github(
repo = "maize-genetics/rTASSEL",
ref = "master",
build_vignettes = TRUE,
dependencies = TRUE
)
ERROR MESSAGE BELOW
The downloaded binary packages are in
C:\Users\RDBECHEED\AppData\Local\Temp\RtmpInRJ4q\downloaded_packages
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file 'C:\Users\RDBECHEED\AppData\Local\Temp\RtmpInRJ4q\remotes289c9014b2b\maize-genetics-rTASSEL-80e7c0e/DESCRIPTION' (447ms)
─ preparing 'rTASSEL': (3.5s)
✔ checking DESCRIPTION meta-information ...
─ installing the package to build vignettes (383ms)
-----------------------------------
─ installing *source* package 'rTASSEL' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace 'S4Arrays' 1.0.5 is being loaded, but >= 1.1.1 is required
Calls: <Anonymous> ... asNamespace -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
ERROR: lazy loading failed for package 'rTASSEL'
─ removing 'C:/Users/RDBECH~1/AppData/Local/Temp/Rtmpw3l7kF/Rinst95fc721b5244/rTASSEL'
-----------------------------------
ERROR: package installation failed
Error: Failed to install 'rTASSEL' from GitHub:
! System command 'Rcmd.exe' failed
In addition: There were 18 warnings (use warnings() to see them)