Non-standard file/directory found at top level: 'README.Rmd' persists even after implementing suggested solutions : <p>I am working on a package and running <code>R CMD CHECK</code> on it using <code>devtools::check()</code> produces the following <code>NOTE</code>:</p>

<pre><code>&gt; checking top-level files ... NOTE
  Non-standard file/directory found at top level:
    'README.Rmd'
</code></pre>

<p>A variant of this question has been raised before (<a href="https://stackoverflow.com/questions/44113759/note-or-warning-from-package-check-when-readme-md-includes-images">NOTE or WARNING from package check when README.md includes images</a>), but that solution provided therein hasn't worked for me. </p>

<p>Here is my <code>.Rbuildignore</code> file. As has been suggested, I have included <code>^README-.*\.png$</code>:</p>

<pre><code>^.*\.Rproj$
^\.Rproj\.user$
^CONDUCT\.md$
^\.travis\.yml$
^README-.*\.png$
^cran-comments\.md$
</code></pre>

<p>Additionally, my <code>README.Rmd</code> document has the following chunk, which saves all figures in <code>/man/figures/</code></p>

<pre><code>{r, echo = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#&gt;",
  fig.path = "man/figures/README-"
)
</code></pre>

<p>If you need more details about the <code>.Rmd</code> file, it's here:
<a href="https://github.com/IndrajeetPatil/ggstatsplot/blob/master/README.Rmd" rel="noreferrer">https://github.com/IndrajeetPatil/ggstatsplot/blob/master/README.Rmd</a></p>

<p>Given that it's better to get rid of all possible <code>NOTES</code> to successfully pass CRAN's <code>R CMD CHECK</code>, how can I avoid this particular <code>NOTE</code>?</p>
