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

failed installation #3

Closed
akhst7 opened this issue Mar 17, 2021 · 2 comments
Closed

failed installation #3

akhst7 opened this issue Mar 17, 2021 · 2 comments

Comments

@akhst7
Copy link

akhst7 commented Mar 17, 2021

Hi,

I am trying to update the package from githiub
scMappR (1a078adf0... -> 225e439b5...) [GitHub]
but this fails with a warning as follows;

I```
nstalling package into ‘/Users/ahoji/Documents/R_lib_4’
(as ‘lib’ is unspecified)

  • installing source package ‘scMappR’ ...
    ** using staged installation
    ** R
    ** data
    *** moving datasets to lazyload DB
    ** byte-compile and prepare package for lazy loading
    Error: object ‘markvario’ is not exported by 'namespace:spatstat'
    Execution halted
    ERROR: lazy loading failed for package ‘scMappR’
  • removing ‘/Users/ahoji/Documents/R_lib_4/scMappR’
  • restoring previous ‘/Users/ahoji/Documents/R_lib_4/scMappR’
    Error: Failed to install 'scMappR' from GitHub:

I believe Spatstat have been updated recently, 

packageVersion("spatstat")
[1] ‘2.0.1’

and throwing a error.  

Thanks. 


@DustinSokolowski
Copy link
Contributor

Hey!

Thank you so much for your interest in the package! This error is being thrown because the spatstat package just got split into many packages. We rely on Seurat which uses spatstat and is currently adjusting their code to deal with the new spatstat (satijalab/seurat#4226 (comment)).

We have found that if you install Seurat from github prior to installing scMappR, then scMappR still installs well.

install.packages('remotes')
remotes::install_github(repo = 'satijalab/seurat', ref = 'develop')
install.packages("scMappR")

We have added these extra instructions to our readme and will update again once the new Seurat is on CRAN and installing goes back to normal.

Thank you again!
Dustin

@DustinSokolowski
Copy link
Contributor

Seurat has updated to 4.0.1 where they should have fixed the error so I am closing this issue.

Thanks again!

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