RDPutils_1.4.1.tar.gz’ had non-zero exit status

I tried to install RDPutils with this command in Windows 10:

remotes::install_github("jfq3/RDPutils")

I got this error:
Downloading GitHub repo jfq3/RDPutils@master
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All
2: CRAN packages only
3: None
4: reshape2 (1.4.3 -> 1.4.4 ) [CRAN]
5: Rcpp (1.0.3 -> 1.0.4.6) [CRAN]
6: glue (1.3.1 -> 1.4.0 ) [CRAN]
7: plyr (1.8.5 -> 1.8.6 ) [CRAN]

Enter one or more numbers, or an empty line to skip updates:
3
√ checking for file 'C:\Users\llsaoi\AppData\Local\Temp\RtmpuURSFf\remotes4f14614a5792\jfq3-RDPutils-9e2f03f/DESCRIPTION' ...

  • preparing 'RDPutils':
    √ checking DESCRIPTION meta-information ...
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
  • looking to see if a 'data/datalist' file should be added
  • building 'RDPutils_1.4.1.tar.gz'
  • installing source package 'RDPutils' ...
    ** using staged installation
    ** R
    ** data
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error: (converted from warning) package 'S4Vectors' was built under R version 3.6.3
    Execution halted
    ERROR: lazy loading failed for package 'RDPutils'
  • removing 'C:/Users/llsaoi/Documents/R/R-3.6.2/library/RDPutils'
    Error: Failed to install 'RDPutils' from GitHub:
    (converted from warning) installation of package ‘C:/Users/llsaoi/AppData/Local/Temp/RtmpuURSFf/file4f141e474817/RDPutils_1.4.1.tar.gz’ had non-zero exit status

Do yo have any suggestion how to solve the problem?

Br,
Sami

You can try running this command before installing the package to avoid this problem.

Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS="true")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.