Re: [Rd] Petition to set warnPartialMatch* options to TRUE

2024-04-29 Thread Kurt Hornik
> Therneau, Terry M , Ph D writes: > Let me give partial assent to Michael's suggestion:  a) have an easy way to > turn this on and b) add a strong suggestion to do so to the WRE manual.    > Kurt's example in the email shows how to do (a);  but I just looked in the > WRE manual and don't see

Re: [Rd] Petition to set warnPartialMatch* options to TRUE

2024-04-23 Thread Therneau, Terry M., Ph.D. via R-devel
Let me give partial assent to Michael's suggestion:  a) have an easy way to turn this on and b) add a strong suggestion to do so to the WRE manual. Kurt's example in the email shows how to do (a);  but I just looked in the WRE manual and don't see any reference to it, nor any mention from R

Re: [Rd] Petition to set warnPartialMatch* options to TRUE during R CMD check by default

2024-04-23 Thread Kurt Hornik
> Michael Chirico writes: Michael, You may have seen that some time ago I added check.R:cprof <- Sys.getenv("_R_CHECK_EXAMPLES_PROFILE_", "") etc so one can use the _R_CHECK_EXAMPLES_PROFILE_ env var to specify a profile to use when running the examples, e.g.

[Rd] Petition to set warnPartialMatch* options to TRUE during R CMD check by default

2024-04-22 Thread Michael Chirico
Hi all, What it says in the title. This is likely to cause a lot of CRAN packages to fail (I can try and quantify this if seen fit), but I think it's for the best. Packages should not (IMHO) be relying on partial matching in package code / tests. One might be more permissive for vignette/examples