Bug 15891 - Gamma() sometimes stores the wrong link name
Summary: Gamma() sometimes stores the wrong link name
Status: NEW
Alias: None
Product: R
Classification: Unclassified
Component: Misc (show other bugs)
Version: R 3.1.0
Hardware: x86_64/x64/amd64 (64-bit) Linux
: P5 trivial
Assignee: R-core
URL:
Depends on:
Blocks:
 
Reported: 2014-07-19 23:13 UTC by Drew
Modified: 2014-07-19 23:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Drew 2014-07-19 23:13:48 UTC
Example:

> links <- c("identity", "inverse", "log")

> # Correct
> lapply(links, gaussian)
> gaussian(links[1])$link

> # Incorrect
> lapply(links, Gamma)
> Gamma(links[1])$link

The fix is to add a "linktemp <- link" line to Gamma(), as in gaussian().