问题描述
我正在尝试在Linux机器上安装它:
R CMD INSTALL -l ./ broadgap.utils_1.0.tar.gz
文件是从此处下载的:https://www.broadinstitute.org/birdsuite/birdsuite-downloads
安装说明在这里:https://www.broadinstitute.org/birdsuite/birdsuite-install
我明白了:
* installing *source* package ‘broadgap.utils’ ...
ERROR: a 'NAMESPACE' file is required
我尝试了此处提出的解决方案:
https://stackoverflow.com/questions/17196225/error-a-namespace-file-is-required
tar -xzf broadgap.utils_1.0.tar.gz
cd broadgap.utils
echo 'exportPattern( "." )' > NAMESPACE
cd ..
tar -zcf broadgap.utils_1.0.tar.gz broadgap.utils
尝试再次使用建议的解决方案安装它后,我得到了:
* installing *source* package ‘broadgap.utils’ ...
** R
** preparing package for lazy loading
** help
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:11: unexpected TEXT ' ',expecting '{'
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:23: unexpected '}'
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:12: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:13: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:13: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:14: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:14: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:15: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:15: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:16: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:16: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:17: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:17: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:19: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:20: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:21: All text must be in a section
Warning: /tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/broad.utils-package.Rd:22: All text must be in a section
Warning: newline within quoted string at commandLineArg.Rd:29
Error in parse_Rd("/tmp/RtmpfWfEvG/R.INSTALL6da96b32b825/broadgap.utils/man/commandLineArg.Rd",:
Unexpected end of input (in " quoted string opened at commandLineArg.Rd:35:31)
ERROR: installing Rd objects Failed for package ‘broadgap.utils’
我的R版本是:r-3.6.3
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)