# Description: R module CellChat # URL: https://github.com/jinworks/CellChat # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: python3-umap r r4-future r4-future-apply r4-pbapply r4-irlba r4-nmf r4-ggalluvial r4-stringr r4-svglite r4-matrix r4-ggrepel r4-circlize r4-rcolorbrewer r4-cowplot r4-complexheatmap r4-rspectra r4-rcpp r4-reticulate r4-scales r4-sna r4-reshape2 r4-fnn r4-shape r4-biocgenerics r4-magrittr r4-patchwork r4-colorspace r4-plyr r4-ggpubr r4-ggnetwork r4-biocneighbors r4-plotly r4-shiny r4-bslib r4-rcppeigen # Optional: r4-rmarkdown r4-knitr r4-roxygen2 r4-seurat r4-singlecellexperiment r4-summarizedexperiment r4-purrr r4-uwot r4-gg-gap r4-wordcloud r4-bsicons r4-presto r4-tidyverse r4-tidyr r4-rlang name=r4-cellchat version=6063355 release=1 source=(https://github.com/jinworks/CellChat/archive/$version/CellChat-6063355ab8c06a55c61add6a07bc35c94cc962a0.tar.gz) build() { cd CellChat-${version}* # https://github.com/sqjin/CellChat/issues/343#issuecomment-1650850608 rm src/RcppExports.o rm src/CellChat_Rcpp.o rm src/CellChat.so mkdir -p "$PKG"/usr/lib/R/library R CMD INSTALL . -l "$PKG"/usr/lib/R/library }