summaryP: fixed types found by R CMD CHECK