No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
2 changed files with
2 additions and
2 deletions
-
R/cloc-package.r
-
R/cloc.R
|
|
@ -2,7 +2,7 @@ |
|
|
|
#' |
|
|
|
#' Counts blank lines, comment lines, and physical lines of source code in source |
|
|
|
#' files/trees/archives. An R wrapper to the Perl `cloc` utility |
|
|
|
#' <https://github.com/AlDanial/cloc> by @AlDanial. |
|
|
|
#' <https://github.com/AlDanial/cloc> by @@AlDanial. |
|
|
|
#' |
|
|
|
#' @md |
|
|
|
#' @name cloc-package |
|
|
|
|
|
@ -24,7 +24,7 @@ cloc <- function(source, extract_with=NULL) { |
|
|
|
|
|
|
|
if (perl == "") { |
|
|
|
stop( |
|
|
|
"Cannot find 'perl'. cloc required perl to be installed and on the PATH.", |
|
|
|
"Cannot find 'perl'. cloc requires perl to be installed and on the PATH.", |
|
|
|
call. = FALSE |
|
|
|
) |
|
|
|
} |
|
|
|