Skip to content

Warning message: In install.packages(...) : installation of package ‘basilisk’ had non-zero exit status #32

@AlbertSL98

Description

@AlbertSL98

Hi I am trying to install basilisk to Windows with R 4.3.2, while I get error:
Warning message: In install.packages(...) : installation of package ‘basilisk’ had non-zero exit status

I copied the whole output message below. Is there any way to fix that? Thanks!

  • installing source package 'basilisk' ...
    ** using non-staged installation via StagedInstall field
    'sh' is not recognized as an internal or external command,
    operable program or batch file.
    Warning in system2(file.path(R.home("bin"), "Rcmd.exe"), c("config", x), :
    running command '"D:/R-4.3.2/bin/x64/Rcmd.exe" config CC' had status 1
    'sh' is not recognized as an internal or external command,
    operable program or batch file.
    Warning in system2(file.path(R.home("bin"), "Rcmd.exe"), c("config", x), :
    running command '"D:/R-4.3.2/bin/x64/Rcmd.exe" config CFLAGS' had status 1
    'sh' is not recognized as an internal or external command,
    operable program or batch file.
    Warning in system2(file.path(R.home("bin"), "Rcmd.exe"), c("config", x), :
    running command '"D:/R-4.3.2/bin/x64/Rcmd.exe" config CXX' had status 1
    'sh' is not recognized as an internal or external command,
    operable program or batch file.
    Warning in system2(file.path(R.home("bin"), "Rcmd.exe"), c("config", x), :
    running command '"D:/R-4.3.2/bin/x64/Rcmd.exe" config CXXFLAGS' had status 1
    'sh' is not recognized as an internal or external command,
    operable program or batch file.
    Warning in system2(file.path(R.home("bin"), "Rcmd.exe"), c("config", x), :
    running command '"D:/R-4.3.2/bin/x64/Rcmd.exe" config CPPFLAGS' had status 1
    'sh' is not recognized as an internal or external command,
    operable program or batch file.
    Warning in system2(file.path(R.home("bin"), "Rcmd.exe"), c("config", x), :
    running command '"D:/R-4.3.2/bin/x64/Rcmd.exe" config LDFLAGS' had status 1
    'sh' is not recognized as an internal or external command,
    operable program or batch file.
    Warning in system2(file.path(R.home("bin"), "Rcmd.exe"), c("config", x), :
    running command '"D:/R-4.3.2/bin/x64/Rcmd.exe" config FC' had status 1
    'sh' is not recognized as an internal or external command,
    operable program or batch file.
    Warning in system2(file.path(R.home("bin"), "Rcmd.exe"), c("config", x), :
    running command '"D:/R-4.3.2/bin/x64/Rcmd.exe" config FCFLAGS' had status 1
    Error in (function (...) : wrong length for argument
  • removing 'D:/R-4.3.2/library/basilisk'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions