CRAN Package Check Results for Maintainer ‘Claus Bendtsen <papyrus.bendtsen at gmail.com>’

Last updated on 2020-08-07 01:50:29 CEST.

Package NOTE
pso 12

Package pso

Current CRAN status:

Version: 1.0.3
Check: dependencies in R code
Result: NOTE
    'library' or 'require' call to 'numDeriv' in package code.
     Please use :: or requireNamespace() instead.
     See section 'Suggested packages' in the 'Writing R Extensions' manual.
    Package in Depends field not imported from: 'methods'
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.0.3
Check: R code for possible problems
Result: NOTE
    test.problem : g: no visible global function definition for 'grad'
    test.problem: no visible global function definition for 'new'
    psoptim,test.problem-missing-missing-missing-missing: no visible global
     function definition for 'new'
    show,test.result: no visible global function definition for 'show'
    show,test.result: no visible global function definition for 'sd'
    Undefined global functions or variables:
     grad new sd show
    Consider adding
     importFrom("methods", "new", "show")
     importFrom("stats", "sd")
    to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
    contains 'methods').
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64