Permalink
Browse files

Better message for extra files

  • Loading branch information...
1 parent 4e858aa commit 742253c4b2d8dfbf0b69d1744016843d2356805b @wch wch committed Sep 12, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 R/check_devtools.r
View
@@ -44,7 +44,9 @@ check_pkg_extra_files <- function(pkgname, built_path) {
if (length(files) > 0) {
message("\n Non-standard files found:\n ",
paste(files, collapse="\n "),
- "\n Did you intend to include these files? If not, add them to .Rbuildignore.\n")
+ "\n Did you intend to include these files?",
+ "\n If yes, do nothing. If no, remove them or add them to .Rbuildignore.\n")
+
} else {
message("OK")
}

0 comments on commit 742253c

Please sign in to comment.