Hello, Kindly revise the documentation for `mode` to reflect foo <- function () {} typeof(foo) # [1] "closure" mode(foo)# [1] "function"
`help(mode)` states: Modes have the same set of names as types (see typeof) except that types "integer" and "double" are returned as "numeric". types "special" and "builtin" are returned as "function". type "symbol" is called mode "name". type "language" is returned as "(" or "call". I am presently reading `help(mode)` on: write.dcf(R.Version()) # platform: x86_64-w64-mingw32 # arch: x86_64 # os: mingw32 # system: x86_64, mingw32 # status: # major: 4 # minor: 0.3 # year: 2020 # month: 10 # day: 10 # svn rev: 79318 # language: R # version.string: R version 4.0.3 (2020-10-10) # nickname: Bunny-Wunnies Freak Out __________ Hmo < 0.1 L tanh kd ---Miche, 1951 / I have placed the sand for the bound of the sea... and though the waves thereof toss themselves... they cannot pass over it ---YHWH, ca. 600 B.C. (Jer. 5:22) [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel