最近正在制作个R包,还是遇到了些困难,已经困扰了好几天,希望路过的大神帮忙!
测试平台:i386-w64-mingw32 (32-bit)
R版本:RStudio 3.0.1
1,用ROXYGEN2是不是只能生成sayHello.Rd,而不能生成sayHello-package.Rd,这个文档得手动写?
2,sayHello-package.Rd这个是不是要删除,因为不删除的话,check的时候就卡在这个地方了:* checking Rd cross-references ...;但是正式上传的话,是要的吧,要不然帮助文档不就没有了?
3,Build and reload 之后出现警告:WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
http://cran.rstudio.com/bin/windows/Rtools/
4, check出现错误:* checking PDF version of manual without hyperrefs or index ... ERROR
Re-running with no redirection of stdout/stderr.
Hmm ... looks like a package
You may want to clean up by 'rm -rf C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/Rtmpa4aQeA/Rd2pdf13c01e5b116f'
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
pdflatex is not available
Error in running tools::texi2pdf() |