Typo in getAllMethods() (PR#8848)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Typo in getAllMethods() (PR#8848)

McGehee, Robert
This is a multi-part message in MIME format.

------_=_NextPart_001_01C67389.C6480D9F
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The function getAllMethods in the methods package uses the non-existent
function packageName where I believe the function getPackageName was
intended.=20

For example:

> getAllMethods("formula")
Error in sprintf(gettext(fmt, domain =3D domain), ...) :=20
        could not find function "packageName"

The patch to RMethodUtils.R is here:

  238c238
<           warning(gettextf("'%s' from '%s' is a non-generic function;
no methods available", f, packageName(gwhere)), domain =3D NA)
---
>           warning(gettextf("'%s' from '%s' is a non-generic function;
no methods available", f, getPackageName(gwhere)), domain =3D NA) =20

> R.version
               _                        =20
platform       i386-pc-mingw32          =20
arch           i386                     =20
os             mingw32                  =20
system         i386, mingw32            =20
status                                  =20
major          2                        =20
minor          3.0                      =20
year           2006                     =20
month          04                       =20
day            24                       =20
svn rev        37909                    =20
language       R                        =20
version.string Version 2.3.0 (2006-04-24)

Robert McGehee
Quantitative Analyst
Geode Capital Management, LLC
53 State Street, 5th Floor | Boston, MA | 02109
Tel: 617/392-8396    Fax:617/476-6389
mailto:[hidden email]



> This e-mail, and any attachments hereto, are intended for use by the
> addressee(s) only and may contain information that is (i) confidential
> information of Geode Capital Management, LLC and/or its affiliates,
> and/or (ii) proprietary information of Geode Capital Management, LLC
> and/or its affiliates. If you are not the intended recipient of this
> e-mail, or if you have otherwise received this e-mail in error, please
> immediately notify me by telephone (you may call collect), or by
> e-mail, and please permanently delete the original, any print outs and
> any copies of the foregoing. Any dissemination, distribution or
> copying of this e-mail is strictly prohibited.=20
>=20

------_=_NextPart_001_01C67389.C6480D9F
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6617.90">
<TITLE>Typo in getAllMethods()</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=3D2 FACE=3D"Courier New">The function getAllMethods in the =
methods package uses the non-existent function packageName where I =
believe the function getPackageName was intended. </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">For example:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">&gt; =
getAllMethods(&quot;formula&quot;)</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">Error in sprintf(gettext(fmt, =
domain =3D domain), ...) : </FONT>

<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2 =
FACE=3D"Courier New">could not find function =
&quot;packageName&quot;</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">The patch to RMethodUtils.R is =
here:</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">&nbsp; 238c238</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">&lt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
warning(gettextf(&quot;'%s' from '%s' is a non-generic function; no =
methods available&quot;, f, packageName(gwhere)), domain =3D =
NA)</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">---</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
warning(gettextf(&quot;'%s' from '%s' is a non-generic function; no =
methods available&quot;, f, getPackageName(gwhere)), domain =3D =
NA)&nbsp; </FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">&gt; R.version</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; =
_&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">platform&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
i386-pc-mingw32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">arch&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">os&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; =
mingw32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">system&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i386, =
mingw32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; </FONT>

<BR><FONT SIZE=3D2 FACE=3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bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">day&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; =
24&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">svn =
rev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
37909&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">language&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
R&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Courier New">version.string Version 2.3.0 =
(2006-04-24)</FONT>
</P>

<P><B><FONT SIZE=3D2 FACE=3D"Arial">Robert McGehee</FONT></B>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Quantitative Analyst</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Geode Capital Management, LLC</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">53 State Street, 5<SUP>th</SUP> Floor =
| Boston, MA | 02109</FONT>

<BR><FONT SIZE=3D2 FACE=3D"Arial">Tel: 617/392-8396&nbsp;&nbsp;&nbsp; =
Fax:617/476-6389</FONT>

<BR><A HREF=3D"mailto:[hidden email]"><U><FONT =
COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">mailto:[hidden email]</FONT></U></A>
</P>
<BR>
<BR>

<P><B><I><FONT COLOR=3D"#808080" SIZE=3D1 FACE=3D"Verdana">This e-mail, =
and any attachments hereto, are intended for use by the addressee(s) =
only and may contain information that is (i) confidential information of =
Geode Capital Management, LLC and/or its affiliates, and/or (ii) =
proprietary information of Geode Capital Management, LLC and/or its =
affiliates. If you are not the intended recipient of this e-mail, or if =
you have otherwise received this e-mail in error, please immediately =
notify me by telephone (you may call collect), or by e-mail, and please =
permanently delete the original, any print outs and any copies of the =
foregoing. Any dissemination, distribution or copying of this e-mail is =
strictly prohibited.</FONT></I></B><I></I> </P>

</BODY>
</HTML>
------_=_NextPart_001_01C67389.C6480D9F--

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel