Displaying 2 results from an estimated 2 matches for "warnpartialmatch".
2024 Apr 22
1
Petition to set warnPartialMatch* options to TRUE during R CMD check by default
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 code,
though I still find it poor practice.
Among many reasons why package authors should resist
2011 Sep 26
1
Disabling Auto-complete
Hi,
I am a new user to R.
I am having the following problem while using R:
The defined function is having following a$unit as input but if I define
a$unit1 then still I am getting the output which is not desired.
__________________________
*Function:*
testfunction<-function(a){
stopifnot(a$unit==1)
cat("All is well")
}
b<-list(unit1=1 )
testfunction(b)