This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Error in R: System command 'Rcmd.exe' failed

Hi all,

I'm getting the following error when installing packages from github:

devtools::install_github("https://github.com/CostaLab/CrossTalkeR", build_vignettes = TRUE)
    checking DESCRIPTION meta-information ... 
    -  installing the package to build vignettes
             -----------------------------------
       ERROR: dependency 'qpdf' is not available for package 'CrossTalkeR'
    -  removing 'C:/Users/FNG-DA/AppData/Local/Temp/RtmpIlN5Iz/Rinst11e07cd110b5/CrossTalkeR'
             -----------------------------------
       ERROR: package installation failed
    ERROR: Failed to install 'CrossTalkeR' from GitHub:
      ! System command 'Rcmd.exe' failed

I'm using R v 4.0.2

> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19043)

Matrix products: default

locale:
[1] LC_COLLATE=Korean_Korea.949  LC_CTYPE=Korean_Korea.949    LC_MONETARY=Korean_Korea.949 LC_NUMERIC=C                
[5] LC_TIME=Korean_Korea.949    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] rstudioapi_0.14   magrittr_2.0.3    usethis_2.1.6     devtools_2.4.3    pkgload_1.2.4     R6_2.5.1         
 [7] rlang_1.0.2       fastmap_1.1.0     tools_4.0.2       pkgbuild_1.3.1    xfun_0.33         sessioninfo_1.2.2
[13] tinytex_0.44      cli_3.1.0         withr_2.5.0       ellipsis_0.3.2    remotes_2.4.2     rprojroot_2.0.3  
[19] lifecycle_1.0.1   crayon_1.5.2      brio_1.1.3        processx_3.7.0    purrr_0.3.4       callr_3.7.3      
[25] fs_1.5.2          ps_1.7.1          curl_4.3.2        testthat_3.1.6    memoise_2.0.1     glue_1.6.2       
[31] cachem_1.0.6      compiler_4.0.2    desc_1.4.2        prettyunits_1.1.1

How can I solve this problem???

crosstalker package r rcmd

dependency 'qpdf' is not available for package 'CrossTalkeR'

install qpdf before CrossTalkeR

Thank you!

The problem was resolved when qpdf was installed and set to 'build_vignettes = FALSE'.

0 answers

No answers yet.

Log in to answer this question.