Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue installing library #7

Open
segalinc opened this issue May 4, 2024 · 1 comment
Open

issue installing library #7

segalinc opened this issue May 4, 2024 · 1 comment
Assignees

Comments

@segalinc
Copy link

segalinc commented May 4, 2024

trying
install_github("detsutut/chroma", subdir="chromaR")
I hade to manually install a bunch of dep as LICORIS is deprecated but then I get

── R CMD build ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file ‘/data/tmp/Rtmp9egoRR/remotes315d0670f88a74/detsutut-chroma-8ca47da/chromaR/DESCRIPTION’ ...
─  preparing ‘chromaR’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘chromaR_0.4.0.tar.gz’
   
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
* installing *source* package ‘chromaR’ ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error: object ‘choose.files’ is not exported by 'namespace:utils'
Execution halted
ERROR: lazy loading failed for package ‘chromaR’
* removing ‘/usr/local/lib/R/site-library/chromaR’
Warning message:
In i.p(...) :
  installation of package ‘/tmp/Rtmp9egoRR/file315d066ba7bc1e/chromaR_0.4.0.tar.gz’ had non-zero exit status
> 
@detsutut detsutut self-assigned this Jun 29, 2024
@detsutut
Copy link
Owner

Hi, sorry for the delay.

Which OS are you using? I've been told that 'choose.files' has compatibility issues with MacOS users, but I still didn't have time to check it myself.

If that's the case, an immediate fix could be:

  1. fork this repo
  2. remove importFrom(utils,choose.files) from the NAMESPACE file
  3. install Chroma from the forked repository with install_github("segalinc/your-forked-repo", subdir="chromaR")
  4. pass file paths manually when calling getFrames

let me know if this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants