[Rd] Improve error message for bad NAMESPACE file?
Seth Falcon
sfalcon at fhcrc.org
Wed Feb 8 08:37:42 CET 2006
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
More information about the R-devel
mailing list