Fix 'isRPackage()' regression (closes #166)