1 Star 1 Fork 0

Guangchuang Yu/ggtree

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 1.96 KB
一键复制 编辑 原始数据 按行查看 历史
Guangchuang Yu 提交于 2022-11-01 14:25 . update bioc version
PKGNAME := $(shell sed -n "s/Package: *\([^ ]*\)/\1/p" DESCRIPTION)
PKGVERS := $(shell sed -n "s/Version: *\([^ ]*\)/\1/p" DESCRIPTION)
PKGSRC := $(shell basename `pwd`)
BIOCVER := RELEASE_3_16
all: rd check clean
for-release: rd check-dontrun clean readme
alldocs: rd readme
rd:
Rscript -e 'library(methods); devtools::document()'
# Rscript -e 'roxygen2::roxygenise(".")'
readme:
Rscript -e 'rmarkdown::render("README.Rmd", encoding="UTF-8")'
sticker:
Rscript -e 'source("ggtree_sticker.R")';
rm Rplots.pdf
build:
cd ..;\
R CMD build $(PKGSRC)
build2:
cd ..;\
R CMD build --no-build-vignettes $(PKGSRC)
install:
cd ..;\
R CMD INSTALL $(PKGNAME)_$(PKGVERS).tar.gz
check: rd build
cd ..;\
Rscript -e "rcmdcheck::rcmdcheck('$(PKGNAME)_$(PKGVERS).tar.gz')"
check-dontrun: build
cd ..;\
Rscript -e 'rcmdcheck::rcmdcheck("$(PKGNAME)_$(PKGVERS).tar.gz", args=c("--run-dontrun"))'
check2: rd build
cd ..;\
R CMD check $(PKGNAME)_$(PKGVERS).tar.gz
check3: rd build2
cd ..;\
R CMD check --ignore-vignettes $(PKGNAME)_$(PKGVERS).tar.gz
bioccheck:
cd ..;\
Rscript -e "BiocCheck::BiocCheck('$(PKGNAME)_$(PKGVERS).tar.gz')"
clean:
cd ..;\
$(RM) -r $(PKGNAME).Rcheck/
gitmaintain:
git gc --auto;\
git prune -v;\
git fsck --full
biocinit:
git remote add upstream git@git.bioconductor.org:packages/$(PKGNAME).git;\
git fetch --all
giteeinit:
git remote add gitee git@gitee.com:GuangchuangYu/$(PKGNAME).git;\
git fetch --all
rmrelease:
git branch -D $(BIOCVER)
release:
git checkout $(BIOCVER);\
git fetch --all
update:
git fetch --all;\
git checkout master;\
git merge upstream/master;\
git merge gitee/master;\
git merge origin/master
push:
git push upstream master;\
git push gitee master;\
git push origin master
# svnignore:
# svn propset svn:ignore -F .svnignore .
# svncommit:
# git checkout devel;\
# git svn rebase;\
# git merge master --log;\
# git svn dcommit;\
# git push -u origin devel;\
# git checkout master;\
# git merge devel
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
R
1
https://gitee.com/GuangchuangYu/ggtree.git
git@gitee.com:GuangchuangYu/ggtree.git
GuangchuangYu
ggtree
ggtree
master

搜索帮助