我想创建一个包装。在R CMD检查期间,我面临以下4条警告和3条注意事项
* checking DESCRIPTION meta-information ... NOTE
Malformed Description field: should contain one or more complete sentences.
Standardizable: TRUE
Standardized license specification:
GPL-2
* checking S3 generic/method consistency ... WARNING
plot:
function(x, ...)
plot.Lap:
function(y, k, h)
plot:
function(x, ...)
plot.rig:
function(y, k, h)
See section 'Generic functions and methods' in the 'Writing R
Extensions' manual.
Found the following apparent S3 methods exported but not registered:
plot.Lap plot.rig
See section 'Registering S3 methods' in the 'Writing R Extensions'
manual.
* checking R code for possible problems ... NOTE
NSR: no visible global function definition for 'IQR'
mselap: no visible global function definition for 'dexp'
mselap: no visible global function definition for 'dgamma'
mselap: no visible global function definition for 'var'
mserig: no visible global function definition for 'dexp'
mserig: no visible global function definition for 'dgamma'
mserig: no visible global function definition for 'var'
plot.Lap: no visible global function definition for 'density'
plot.Lap: no visible global function definition for 'plot'
plot.Lap: no visible global function definition for 'lines'
plot.Lap: no visible global function definition for 'legend'
plot.rig: no visible global function definition for 'density'
plot.rig: no visible global function definition for 'plot'
plot.rig: no visible global function definition for 'lines'
plot.rig: no visible global function definition for 'legend'
Undefined global functions or variables:
IQR density dexp dgamma legend lines plot var
Consider adding
importFrom("graphics", "legend", "lines", "plot")
importFrom("stats", "IQR", "density", "dexp", "dgamma", "var")
to your NAMESPACE file.
* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! LaTeX Error: File `inconsolata.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
! Emergency stop.
<read *>
l.276
! ==> Fatal error occurred, no output PDF file produced!
* checking PDF version of manual without hyperrefs or index ...Warning: running command '"C:/PROGRA~1/R/R-33~1.3/bin/x64/Rcmd.exe" Rd2pdf --batch --no-preview --build-dir="C:/Users/Intag/AppData/Local/Temp/Rtmpq8TzUZ/Rd2pdf34453a4139c" --no-clean -o AsyKD-manual.pdf "C:/Users/Intag/Documents/AsyKD.Rcheck/AsyKD"' had status 1
OK
* checking for code which exercises the package ... WARNING
No examples, no tests, no vignettes
* DONE
Status: 4 WARNINGs, 3 NOTEs
我尝试了与此相关的现有答案,但并非所有人都可以使用。而且我的包裹没有问题。有人可以告诉我我的包裹可能出什么问题吗?