Yelab2020 / Cottrazm

Construct Tumor Transition Zone Microenvironment
35 stars 7 forks source link

a warning occured when install the package #3

Open feixueer opened 1 year ago

feixueer commented 1 year ago

Hello Author, Congratulations on publishing this excellent study! When I install the Cottrazm through

devtools::install_github('Yelab2020/Cottrazm') install.packages("Cottrazm.tar.gz", repos = NULL, type = "source") library(Cottrazm)

it gets a Warning: invalid package 'Cottrazm.tar.gz' Error: ERROR: no packages specified Warning in install.packages : 安装程序包‘Cottrazm.tar.gz’时退出狀態的值不是0

How can I solve this problem?

ABU-TO commented 11 months ago

Hi, Code "install.packages("Cottrazm.tar.gz", repos = NULL, type = "source") " means you should download "Cottrazm.tar.gz" published in 'Release' first. And install it locally. I install it by this way.

xzz-1995 commented 5 months ago

Hi, In most cases, you can use install_github to install the package. If you want to install the package by source, then you can use install.packages('Cottrazm.tar.gz',repos = NULL,type = 'source'), after you downloaded the tar.gz file from github.