ПРЕДУПРЕЖДЕНИЯ во время проверки CMD R - PullRequest
0 голосов
/ 18 июня 2019

Я хочу создать пакет. Во время проверки 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

Я попробовал существующие ответы, связанные с этим, но он не работает для всех. И мой пакет работает без проблем. Может кто-нибудь сказать мне, что может быть не так с моей посылкой?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...