Bug 7923 - Bug in help(package=)
Summary: Bug in help(package=)
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Wishlist (show other bugs)
Version: old
Hardware: ix86 (32-bit) Windows 32-bit
: P5 normal
Assignee: Jitterbug compatibility account
URL:
Depends on:
Blocks:
 
Reported: 2005-06-09 00:59 UTC by Jitterbug compatibility account
Modified: 2005-06-09 00:59 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jitterbug compatibility account 2005-06-09 00:59:54 UTC
From: Duncan Murdoch <murdoch@stats.uwo.ca>
The following is a bug or mis-design in help(package=):

 > showhelp <- function(packageName) help(package=packageName)
 >
 > showhelp("utils")
Error in .find.package(pkgName, lib.loc, verbose = verbose) :
         none of the packages were found

The problem is that it calls library(help=) with argument "packageName" 
instead of "utils".  Unlike library(), it has no character.only argument 
to force interpretation of the packageName as a character vector.

--please do not edit the information below--

Version:
  platform = i386-pc-mingw32
  arch = i386
  os = mingw32
  system = i386, mingw32
  status =
  major = 2
  minor = 1.0
  year = 2005
  month = 04
  day = 18
  language = R

Windows XP Professional (build 2600) Service Pack 2.0

Search Path:
  .GlobalEnv, package:methods, package:stats, package:graphics, 
package:grDevices, package:utils, package:datasets, Autoloads, package:base

Comment 1 Jitterbug compatibility account 2005-06-10 20:36:00 UTC
NOTES:
 This works as documented, hardly a bug.
It has been that way in S for about 15 years. 
Comment 2 Jitterbug compatibility account 2005-06-12 22:35:15 UTC
Audit (from Jitterbug):
Fri Jun 10 17:36:58 2005	ripley	changed notes
Sun Jun 12 17:35:15 2005	thomas	moved from incoming to wishlist