From murdoch at stats.uwo.ca  Sat Dec  5 17:24:25 2009
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Sat, 05 Dec 2009 11:24:25 -0500
Subject: [Rd] error in help.search (PR#14113)
In-Reply-To: <20091204224012.64047282EFC3@mail.pubhealth.ku.dk>
References: <20091204224012.64047282EFC3@mail.pubhealth.ku.dk>
Message-ID: <4B1A8939.6020408@stats.uwo.ca>

On 04/12/2009 5:40 PM, dgrove at fhcrc.org wrote:
> Full_Name: Doug Grove
> Version: 2.10.0   10-26-2009
> OS: x86_64-unknown-linux-gnu
> Submission from: (NULL) (140.107.164.65)
> 
> 
> Hi,
> 
> Looks like the revisions to help.search didn't get completely finished.
> 
> When the user specifies the argument 'package' the code doesn't define the
> variable 'paths' prior to trying to use it, which obviously produces an error.

That was a typo:  it should have been looking at package_paths, not paths.

> 
> The code dies when it reaches the line: 
>    tot <- length(paths)
> 
> Just search on any string and specify and package and you'll get the error.

Will fix.

Duncan Murdoch



[Rd] error in help.search (PR#14113)
Duncan Murdoch