shims for 'packageNameForSourceFile', 'isRScriptInPackageBuildTarget'