On 24 January 2021 at 06:08, Graham Inggs wrote:
| The actual warning message is generated by r-base, is there a way to
| make this an error instead of a warning?

R code can promote warnings to errors on a per-session basis:

   > warning("I am just a warning")
   Warning message:
   I am just a warning 
   > 
   > options("warn" = 2)    # see help(options) under "warn"
   > 
   > warning("I am now an error")
   Error: (converted from warning) I am now an error
   > 

I am still not quite sure what the best way here is. With hard '==' warnings
we get ourselves the need for a transition within a transition.  My
instictive preference would be to just rely on rebuilds of *TMB after Matrix
updates majors (which is only every so and so many years).  We likely to not
need a '==' on minor versions.

Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | [email protected]

Reply via email to