Displaying 1 result from an estimated 1 matches for "files_with_duplicated_name".
2011 Mar 29
1
Typo in tools:::format.check_Rd_metadata()
...d files. 'R CMD check' is able to detect this situation
but is not able to display the warning message correctly because of
a typo in the tools:::format.check_Rd_metadata() function:
   format.check_Rd_metadata <-
   function(x, ...)
   {
     c(character(),
       if(length(bad <- x$files_with_duplicated_name)) {
           unlist(lapply(names(bad)),
                  function(nm) {
                      c(gettextf("Rd files with duplicated name '%s':",
                                 nm),
                        .pretty_format(bad[[nm]]))
                  })
       },
       if(leng...