Strictly speaking this is not a devtools bug, because the warning is not coming from `R CMD check`, but from `devtools::document()`, which rebuilds the documentation via roxygen2, before actually running `R CMD check`.
Maybe `devtools::check()` should stop if `devtools::document()` throws a warning. Gabor On Wed, Jul 24, 2019 at 12:56 PM Duncan Murdoch <murdoch.dun...@gmail.com> wrote: > > On 24/07/2019 5:30 a.m., Sigbert Klinke wrote: > > Hi, > > > > when I called check() on my package I got a warning at the beginning > > > > Updating plot.matrix documentation > > Warnung: roxygen2 requires Encoding: UTF-8 > > Warnung: @examples > > [/home/sigbert/syncthing/projekte/R/plot.matrix/R/as.cor.R#12]: > > mismatched braces or quotes > > > > but at the end it says > > > > ── R CMD check results ─── plot.matrix 1.3 ──── > > Duration: 10.8s > > > > 0 errors ✔ | 0 warnings ✔ | 0 notes ✔ > > > > Is that okay? The warning actually was correct. > > > > Looks like a bug in devtools. It's probably looking for "Warning", and > not recognizing the German translation. > > Duncan Murdoch > > ______________________________________________ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel