Skip to content

Can't install diyabcGUI on Mac #148

Open

Description

@mccartn

Hi I am trying to install DIYABC-RF package on a Mac M1 running OS Ventura 13.2.1.

In R, I received the following command failure and warning messages:

Downloading GitHub repo diyabc/diyabcGUI@HEAD
'/usr/bin/git' clone --depth 1 --no-hardlinks --recurse-submodules --branch prod https://github.com/diyabc/DesktopDeployR.git /var/folders/h_/5sq53ll92_3chqcnft0tvpfr0000gn/T//Rtmp3Uanx9/remotes59b57eb642d6/diyabc-diyabcGUI-45092b9/R-pkg/../build/DIYABC-RF_GUI_windows
Error: Failed to install 'diyabcGUI' from GitHub:
Command failed (1)
In addition: Warning message:
In system(full, intern = TRUE, ignore.stderr = quiet) :
running command ''/usr/bin/git' clone --depth 1 --no-hardlinks --recurse-submodules --branch prod https://github.com/diyabc/DesktopDeployR.git /var/folders/h_/5sq53ll92_3chqcnft0tvpfr0000gn/T//Rtmp3Uanx9/remotes59b57eb642d6/diyabc-diyabcGUI-45092b9/R-pkg/../build/DIYABC-RF_GUI_windows' had status 1

Activity

  1. mamccartney commented on Apr 4, 2023

    @mamccartney

    When I opened this issue, it appears that I failed to copy in the first error, which is key to the solution. In response to the installation command:

    devtools::install_github(

    • "diyabc/diyabcGUI",
      
    • subdir = "R-pkg"
      
    • )

    I received the following. The error "xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun" was the key.

    Downloading GitHub repo diyabc/diyabcGUI@HEAD
    '/usr/bin/git' clone --depth 1 --no-hardlinks --recurse-submodules --branch prod https://github.com/diyabc/DesktopDeployR.git /var/folders/h_/5sq53ll92_3chqcnft0tvpfr0000gn/T//RtmpobBulX/remotes146c52499bad0/diyabc-diyabcGUI-45092b9/R-pkg/../build/DIYABC-RF_GUI_windows
    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
    Error: Failed to install 'diyabcGUI' from GitHub:
    Command failed (1)
    In addition: Warning message:
    In system(full, intern = TRUE, ignore.stderr = quiet) :
    running command ''/usr/bin/git' clone --depth 1 --no-hardlinks --recurse-submodules --branch prod https://github.com/diyabc/DesktopDeployR.git /var/folders/h_/5sq53ll92_3chqcnft0tvpfr0000gn/T//RtmpobBulX/remotes146c52499bad0/diyabc-diyabcGUI-45092b9/R-pkg/../build/DIYABC-RF_GUI_windows' had status 1

    The solution (pointed out to me by Alex Bajcz) is to install the Command Line Tools from Xcode
    Open a terminal and run:

    xcode-select --install

    As detailed in the linked discussion (below) "...This will pop a dialogue box, Select "Install", and it will download and install the Command Line Tools package and fix the problem. (The popped Window may be behind other windows.)"

    You don't have to install Xcode, just the Command Line Tools package.
    For more details, see: https://apple.stackexchange.com/questions/254380/why-am-i-getting-an-invalid-active-developer-path-when-attempting-to-use-git-a

    All the best,

    Michael

    Michael A McCartney, PhD
    Research Associate,
    Aquatic Invasive Species
    Ecology, Evolution and Genomics
    St. Paul MN, USA

  2. gdurif commented on Aug 30, 2024

    @gdurif
    Collaborator

    Hi, I am really sorry for the very late reply.

    Due to work overload, the development, support and maintenance for the project diyabcGUI is currently paused. Feel free to contact us (by submitting an issue) if you want to take over the development for this project. Pull request are also welcome to fix bug or implement missing functionalities.

    I have updated the README file to announce this. This is the official announcement to clarify a situation that has been going on for quite some time.

    You can still use the command line version of the software which is still maintained/supported. Check the documentation page here.

    All my apologies for the trouble,
    Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions