helper to determine if an R script belongs to the package currently under development