-
Couldn't load subscription status.
- Fork 194
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorfeaturea feature request or enhancementa feature request or enhancementobject linters 🏀
Milestone
Description
Local changes to the NAMESPACE file are reflected only after package is installed. To reproduce:
pkgname="lintr.namespace.test"
rm -rf $pkgname
Rscript -e "devtools::create('$pkgname')"
Rscript -e "devtools::install('$pkgname')"
echo "a <- function() {" > $pkgname/R/a.R
echo " llply" >> $pkgname/R/a.R
echo "}" >> $pkgname/R/a.R
echo "importFrom(plyr,llply)" > $pkgname/NAMESPACE
# Uncomment line below to fix error
#Rscript -e "devtools::install('$pkgname')"
Rscript -e "lintr::lint_package('$pkgname')"An equivalent R script didn't exhibit the same error, so this one might be difficult to test automatically.
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorfeaturea feature request or enhancementa feature request or enhancementobject linters 🏀