Fixing deprecated functions in .R-files
‘real’, ‘as.real’ and ‘is.real’ were long-deprecated synonyms for the ‘double’ versions.