rmcelreath / rethinking

Statistical Rethinking course and book package
2.14k stars 603 forks source link

replace defunct 'as.real' call #386

Open MichaelChirico opened 1 year ago

MichaelChirico commented 1 year ago

as.real() is likely base::as.real(), in which case it's been defunct since R 3.0.0 (i.e., roughly 10 years):

https://github.com/r-devel/r-svn/blob/03c59d2d9eff6d238d319669e83c75a1e4e4d8e0/src/library/base/man/base-defunct.Rd#L154-L157