Hi Following-up on this question. I don't understand why R CMD check creates .Rout files that do not contain the message "Registered S3 method overwritten by..." that I otherwise obtain with an interactive R session, or with R CMD BATCH? Can I recreate the behaviour of R CMD check calling directly R CMD BATCH?
Thanks! Matthieu Le lun. 5 août 2019 à 11:12, Matthieu S <matthieu.stig...@gmail.com> a écrit : > Hi > > Since I believe 3.6, there is a message when loading a package that > overwrites S3 methods, reading like "Registered S3 method overwritten > by...". Should this message be included in the xxx.Rout.save files saved in > the tests/ folder of a package? It seems R CMD check is not happy about it? > > I simply ran R CMD BATCH xxx.R xxx.Rout.save but running later on R CMD > check on the package complains about the presence of the "Registered S3 > method overwritten..." text? Did I do something wrong? Is this the correct > way to do, and R CMD check should be updated? Or should I not include the > "Registered S3 method overwritten" in the .Rout.save (and how can I do > that?)? > > Thanks! > > Matthieu > [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel