curso-r / stockfish

An R package to analyze chess games with the Stockfish engine
GNU General Public License v3.0
31 stars 2 forks source link

Work around the "not imported from" check #7

Closed gaborcsardi closed 3 years ago

gaborcsardi commented 3 years ago

R CMD check makes sure that every package that is listed in Imports is used in the code. Currently the package only uses R6 and processx at install time, and the check misses that and gives:

* checking dependencies in R code ... NOTE
Namespaces in Imports field not imported from:
  ‘R6’ ‘processx’
    All declared Imports should be used.

An easy fix is to create a dummy function that refers to both packages.