From edd at debian.org  Sun Nov 27 20:44:15 2016
From: edd at debian.org (Dirk Eddelbuettel)
Date: Sun, 27 Nov 2016 13:44:15 -0600
Subject: [Rd] Changes in error reporting in r-devel
In-Reply-To: <41a24c90-9837-3ff8-ab78-6745b1d91535@gmail.com>
References: <820896809.998306.1480264479807.ref@mail.yahoo.com>
	<820896809.998306.1480264479807@mail.yahoo.com>
	<41a24c90-9837-3ff8-ab78-6745b1d91535@gmail.com>
Message-ID: <22587.14223.950504.314087@max.nulle.part>


On 27 November 2016 at 13:20, Duncan Murdoch wrote:
| On 27/11/2016 11:34 AM, brodie gaslam via R-devel wrote:
| > Minor issue, but the following changed as of R3.3.2 from:
| >
| >     > a <- function() b()
| >     > a()
| >     Error in a() : could not find function "b"
| >
| > To (at least in R Under development (unstable) (2016-11-20 r71670)):
| >
| >     Error in b() : could not find function "b"
| >
| > Notice the "Error in **b**() :" part.  The original error message seems more correct to me, although I can see how you can argue for either one.
| 
| I'm not seeing that in R-devel r71694.  Could you update and try again?

I am at r71690 and I don't see it either:

edd at max:~/src/debian RD

R Under development (unstable) (2016-11-24 r71690) -- "Unsuffered Consequences"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

R> a <- function() b()
R> a()
Error in a() : could not find function "b"
R> 

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



[Rd] Changes in error reporting in r-devel
Dirk Eddelbuettel