Skip to content

Cannot install flipData into R: "Error: object 'solve' is not exported by 'namespace:CVXR'" #95

@malagr

Description

@malagr

I originally wanted to install flipCluster using the recommended commands
require(devtools)
install_github("Displayr/flipCluster", dependencies = NA)
but this fails when it tries to install flipData, generating the same error message as when I try to install flipData directly by using the command
install_github("Displayr/flipCluster", dependencies = NA)
The full report is copied below but the critical line appears to be
Error: object 'solve' is not exported by 'namespace:CVXR'
I am running R 4.5.1 with RTools 4.5 (6768) on Windows 10 v. 22H2. All 64-bit.
Thanks for any advice.

require(devtools)
install_github("Displayr/flipData", dependencies = NA)
Using GitHub PAT from the git credential store.
Downloading GitHub repo Displayr/flipData@HEAD
── R CMD build ─────────────────────────────────────────────────────────────────

checking for file 'C:\Users\John\AppData\Local\Temp\Rtmp0yvMTk\remotesd4b83bda3d24\Displayr-flipData-5a6dc40/DESCRIPTION' ...

checking for file 'C:\Users\John\AppData\Local\Temp\Rtmp0yvMTk\remotesd4b83bda3d24\Displayr-flipData-5a6dc40/DESCRIPTION' ...

✔ checking for file 'C:\Users\John\AppData\Local\Temp\Rtmp0yvMTk\remotesd4b83bda3d24\Displayr-flipData-5a6dc40/DESCRIPTION' (363ms)

─ preparing 'flipData':
checking DESCRIPTION meta-information ...

checking DESCRIPTION meta-information ...

✔ checking DESCRIPTION meta-information

─ checking for LF line-endings in source and make files and shell scripts (431ms)

─ checking for empty or unneeded directories

Removed empty directory 'flipData/.circleci'
Removed empty directory 'flipData/.github'

Omitted 'LazyData' from DESCRIPTION

─ building 'flipData_1.8.10.tar.gz'

Installing package into ‘C:/Users/John/AppData/Local/R/win-library/4.5’
(as ‘lib’ is unspecified)

  • installing source package 'flipData' ...
    ** this is package 'flipData' version '1.8.10'
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error: object 'solve' is not exported by 'namespace:CVXR'
    Execution halted
    ERROR: lazy loading failed for package 'flipData'
  • removing 'C:/Users/John/AppData/Local/R/win-library/4.5/flipData'
    Warning message:
    In i.p(...) :
    installation of package ‘C:/Users/John/AppData/Local/Temp/Rtmp0yvMTk/filed4b83d002707/flipData_1.8.10.tar.gz’ had non-zero exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions