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

安装更新版本org.At.tair.db报错问题 #4

Open
zhangmiaoHZAU opened this issue Jun 5, 2019 · 1 comment
Open

安装更新版本org.At.tair.db报错问题 #4

zhangmiaoHZAU opened this issue Jun 5, 2019 · 1 comment

Comments

@zhangmiaoHZAU
Copy link

师兄你好,我在按照您的方法在windows下安装org.At.tair.db的时候,最后遇到报错
运行最后命令,如下:

makeOrgPackage(go=go_df,
               pub_info = pub_df,
               symbol_info = symbol_df,
               function_info = func_df,
               version = "0.1",
               maintainer = "xuzhougeng <[email protected]>",
               author="xuzhogueng <[email protected]>",
               outputDir = file_path,
               tax_id = "3702",
               genus = "At",
               species = "tair10",
               goTable = "go"
  
)

运行结果如下,最后出现报错信息:
P```
opulating genes table:
genes table filled
Populating go table:
go table filled
Populating pub_info table:
pub_info table filled
Populating symbol_info table:
symbol_info table filled
Populating function_info table:
Error in result_create(conn@ptr, statement) :
NOT NULL constraint failed: function_info.SHORT_DESCRIPTION
In addition: There were 28 warnings (use warnings() to see them)

所以,最后install的时候也是失败的,报错如下:

Warning: 程辑包无效. './org.Atair10.eg.db'
错误: 错误:没有设定程序包
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA1/R/R-341.3/bin/x64/R" CMD INSTALL -l "C:\Users\zhangmiao\Documents\R\win-library\3.4" "./org.Atair10.eg.db"' had status 1
Warning in install.packages :
installation of package ‘./org.Atair10.eg.db’ had non-zero exit status


不知道是什么原因呢?烦请解答一下,谢谢!
@Yorks0n
Copy link

Yorks0n commented Jul 2, 2019

研究了以下是因为func_df的SHORT_DESCRIPTION列中NA导致。
在makeOrgPackage前一行添加func_df[is.na(func_df)] <- ""可以解决。

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