hadley/adv-r — pull request #622 by HenrikBengtsson (2014-11-02 00:42:07+00:00)
Title: TYPO: asLogical() takes LGLSXP (was INTSXP)

In Section 'Coercing scalars' [http://adv-r.had.co.nz/C-interface.html#c-data-structures], I think you meant `asLogical(x): LGLSXP -> int`.