eddelbuettel / rcppsimdjson

Rcpp Bindings for the 'simdjson' Header Library
116 stars 13 forks source link

utils::download.file() #29

Closed knapply closed 4 years ago

knapply commented 4 years ago

@eddelbuettel There are packages on CRAN with an identical NOTE. Do you have a policy/preference here?

Travis Log

* checking R code for possible problems ... NOTE
fload: no visible global function definition for ‘download.file’
Undefined global functions or variables:
  download.file
Consider adding
  importFrom("utils", "download.file")
to your NAMESPACE file.

Code affected: https://github.com/eddelbuettel/rcppsimdjson/blob/60e3d3f0d231ed3c793220715e9f42f1237d7472/R/fload.R#L182-L183

eddelbuettel commented 4 years ago

As we use it, and R CMD check even suggests it we should of course add importFrom("utils", "download.file") to NAMESPACE. Or am I missing some meta conversation here? Also, why would we care what errors other packages make? ;-)

eddelbuettel commented 4 years ago

I appreciate you asked. But on the margin. that is the type of one-line change you could just have committed. Or, better still, in a joint repo, put the one line change in PR, I look and nod and you merge and move on.

Some things really are that simple :)