From sfalcon at fhcrc.org  Wed Feb  8 08:37:42 2006
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Tue, 07 Feb 2006 23:37:42 -0800
Subject: [Rd] Improve error message for bad NAMESPACE file?
In-Reply-To: <Pine.LNX.4.61.0602080720310.2578@gannet.stats> (Brian Ripley's
	message of "Wed, 8 Feb 2006 07:21:35 +0000 (GMT)")
References: <m2ek2ee5bo.fsf@ziti.local>
	<Pine.LNX.4.61.0602080720310.2578@gannet.stats>
Message-ID: <m2zml2cncp.fsf@ziti.local>

On  7 Feb 2006, ripley at stats.ox.ac.uk wrote:
> I suspect this line in namespace.R:
>
> }
> stop(gettextf("unknown namespace directive: %s", deparse(e)),
> call. = FALSE, domain = FALSE)
>
> Does domain=NA solve this?

Seems to me for me.  I now see an error message like:

   * Installing *source* package 'goodbye' ...
   ** R
   ** save image
   Error: unknown namespace directive: foo("foo")
   Execution halted                                   

which is quite helpful.

Thanks,

+ seth



[Rd] Improve error message for bad NAMESPACE file?
Seth Falcon