Skip to content

Is there a BAM executable for macos? How do i get it because the R way is failing on mac-os #33

Description

@ejjunju

I am working with RBaM om MAC os but doing the following in R

# MacOS----------------------------------------------------------------
PathToBaM<-"/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/RBaM/bin" 
RBaM::downloadBaM(PathToBaM,os = "Darwin")

# Install RBaM first (dependency for RatingShiftHappens)---------------
install_if_missing("RBaM", "BaM-tools/RBaM")
RBaM::setPathToBaM(PathToBaM)
RBaM::getPathToBaM()

# Load the packages-----------------------------------------------------
library(RBaM)

Yields the following error and there is no BAM executable downloaded. regardless of changing directory

----------------

Determining latest version of BaM exe...

Error: Could not find a BaM exe for your OS in the latest BaM release. Try providing the url of the BaM exe to download through the `url=` argument
Traceback:

1. stop(mess, call. = FALSE)
2. .handleSimpleError(function (cnd) 
 . {
 .     watcher$capture_plot_and_output()
 .     cnd <- sanitize_call(cnd)
 .     watcher$push(cnd)
 .     switch(on_error, continue = invokeRestart("eval_continue"), 
 .         stop = invokeRestart("eval_stop"), error = NULL)
 . }, "Could not find a BaM exe for your OS in the latest BaM release. Try providing the url of the BaM exe to download through the `url=` argument", 
 .     base::quote(NULL))

But MAC os isnt expected to use exe. also is there an executable for mac?

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