Control: tags -1 + patch The attached patch upgrades the warning() to a stop(). This will cause r-cran-tmb's autopkgtests to fail whenever rmatrix is upgraded. Then we will know it is time for a rebuild, or a new upload.
Let me know if this seems a reasonable solution, and I'll do a team upload.
--- a/R/zzz.R +++ b/R/zzz.R @@ -15,7 +15,7 @@ } TMB.Matrix.version <- readLines(file) if(!identical(TMB.Matrix.version, cur.Matrix.version)) { - warning( + stop( "Package version inconsistency detected.\n", "TMB was built with Matrix version ", TMB.Matrix.version,