Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

R: checking for non-standard things in the check directory ... NOTE Found the following files/directories

Tags:

r

devtools

This is the error I get after running devtools::check_rhub()

checking for non-standard things in the check directory ... NOTE Found the following files/directories: 'disk.frame-Ex_i386.Rout' 'disk.frame-Ex_x64.Rout' 'examples_i386' 'examples_x64'

These notes don't appear when I run devtools::check().

I don't understand what these mean. The package I am running is disk.frame.

like image 450
xiaodai Avatar asked Aug 19 '19 13:08

xiaodai


1 Answers

Not sure if it's the same cause, but R CMD check --as-cran was picking up a .DS_store file that definitely wasn't there! (so I'm pretty sure there's a bug)

First I made absolutely sure the file wasn't there with ls -a (the a flag shows hidden files).

When I was sure it wasn't there, but check insisted that it was, the humble solution was to close and reopen RStudio, and then the problem mysteriously went away.

This solution might not work for everyone, but it solved for me.

like image 130
stevec Avatar answered Nov 04 '22 15:11

stevec