The R Project SVN R

Rev

Rev 85102 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 85102 Rev 87272
Line 25... Line 25...
25
    character string: The package to be used when suggesting where the
25
    character string: The package to be used when suggesting where the
26
    deprecated function might be listed.
26
    deprecated function might be listed.
27
  }
27
  }
28
  \item{msg}{
28
  \item{msg}{
29
    character string: A message to be printed, if missing a default
29
    character string: A message to be printed, if missing a default
30
    message is used.}
30
    message is used.
-
 
31
  }
31
  \item{old}{character string specifying the function (default) or usage
32
  \item{old}{character string specifying the function (default) or usage
32
    which is being deprecated.}
33
    which is being deprecated.}
33
}
34
}
34
\details{
35
\details{
35
  \code{.Deprecated("\var{new name}")} is called from deprecated
36
  \code{.Deprecated("\var{new name}")} is called from deprecated functions.
36
  functions.  The original help page for these functions is often
-
 
37
  available at \code{help("\var{old}-deprecated")} (note the quotes).
-
 
38
  % FIXME: the above is not true any more; the old \alias is usually kept as-is.
-
 
39
  Deprecated functions should be listed in \code{help("\var{pkg}-deprecated")}
37
  These should be listed in \code{help("\var{pkg}-deprecated")}
40
  for an appropriate \var{pkg}, including \pkg{base}.
38
  for an appropriate \var{pkg}, including \pkg{base}.
-
 
39
  The original help page for a deprecated function is sometimes
-
 
40
  available at \code{help("\var{old}-deprecated")} (note the quotes).
41
 
41
 
42
  \code{.Deprecated} signals a warning of class \code{"deprecatedWarning"}
42
  \code{.Deprecated} signals a warning of class \code{"deprecatedWarning"}
43
  with fields \code{old}, \code{new}, and \code{package}.
43
  with fields \code{old}, \code{new}, and \code{package}.
44
}
44
}
45
\seealso{
45
\seealso{