我正在尝试在R Studio中构建一个包,但在导航到包目录后,我收到以下错误:
> build()
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save \
--no-restore --quiet CMD build '/Users/alexander/Desktop/CitiBikeTools' --no-resave-data \
--no-manual
* checking for file ‘/Users/alexander/Desktop/CitiBikeTools/DESCRIPTION’ ... OK
Error in if (pkgname != intname) { :
missing value where TRUE/FALSE needed
Execution halted
Error: Command failed (1)
所有必要的文件都在包中,我仔细检查了描述文件,标题中没有多余或缺少的字符。还有什么可能导致这个错误?