From gb at stat.umu.se  Wed Feb 10 22:35:11 2010
From: gb at stat.umu.se (gb at stat.umu.se)
Date: Wed, 10 Feb 2010 22:35:11 +0100 (CET)
Subject: [Rd] Wrong documentation of  'isTRUE' (PR#14212)
Message-ID: <20100210213511.F049B283031C@mail.pubhealth.ku.dk>

Full_Name: G?ran Brostr?m
Version: 2.10.1
OS: Ubuntu 9.10
Submission from: (NULL) (85.11.40.53)


The documentation  for 'isTRUE' states that

 'isTRUE(x)' is an abbreviation of 'identical(TRUE, x)', and so is
  true if and only if 'x' is a length-one logical vector with no
  attributes (not even names).

But,

> x <- FALSE
> isTRUE(x)
[1] FALSE

is not true. Add, somewhere after 'logical vector, 'equal to TRUE', or 'taking
the value TRUE'. Maybe 'true' should be changed to 'TRUE' as well.



[Rd] Wrong documentation of 'isTRUE' (PR#14212)
gb at stat.umu.se