~hrbrmstr/cloc

c76ec1e705b9b54a9e76e5813218acdf15eb5ae7 — boB Rudis 6 years ago bacdeb4
c'mon travis\!
7 files changed, 9 insertions(+), 9 deletions(-)

M NAMESPACE
M R/cloc-git.R
M R/cloc-recognized-languages.r
M README.Rmd
M README.md
M man/cloc_git.Rd
R man/{cloc_reognized_languages.Rd => cloc_recognized_languages.Rd}
M NAMESPACE => NAMESPACE +1 -1
@@ 8,8 8,8 @@ export(cloc_git)
export(cloc_help)
export(cloc_os)
export(cloc_pkg)
export(cloc_recognized_languages)
export(cloc_remove_comments)
export(cloc_reognized_languages)
export(cloc_version)
import(rstudioapi)
importFrom(DT,datatable)

M R/cloc-git.R => R/cloc-git.R +1 -1
@@ 4,7 4,7 @@
#' @param repo path to git repo; if `repo` is a URL like `git://`, it will be fetched into
#'        a temporary directory
#' @param commit "`.`" for the current source tree or the commit identifier for a specific commit
#' @param branch,credentials,progressed passed on to [git2r::clone()].
#' @param branch,credentials,progress passed on to [git2r::clone()].
#' @return data frame (tibble)
#' @export
#' @examples \dontrun{

M R/cloc-recognized-languages.r => R/cloc-recognized-languages.r +1 -1
@@ 25,7 25,7 @@
#' @export
#' @examples
#' cloc_reognized_languages()
cloc_reognized_languages <- function() {
cloc_recognized_languages <- function() {

  perl <- Sys.which("perl")


M README.Rmd => README.Rmd +1 -1
@@ 35,7 35,7 @@ The following functions are implemented:
- `cloc_cran`:	Count lines of code (etc) from source packages on CRAN
- `cloc_git`:	Count lines of code, comments and whitespace in a git tree
- `cloc_remove_comments`:	Strip comments and white space from a single source file
- `cloc_reognized_languages`:	Return a data frame of 'cloc' recognized languages and associated extensions
- `cloc_recognized_languages`:	Return a data frame of 'cloc' recognized languages and associated extensions
- `cloc_call`:	Call 'cloc.pl' directly with granular control over options
- `cloc_help`:	See the command-line help 
- `cloc_version`:	Retrieve the version of the embedded perl script

M README.md => README.md +1 -1
@@ 32,7 32,7 @@ The following functions are implemented:
    tree
  - `cloc_remove_comments`: Strip comments and white space from a single
    source file
  - `cloc_reognized_languages`: Return a data frame of ‘cloc’ recognized
  - `cloc_recognized_languages`: Return a data frame of ‘cloc’ recognized
    languages and associated extensions
  - `cloc_call`: Call ‘cloc.pl’ directly with granular control over
    options

M man/cloc_git.Rd => man/cloc_git.Rd +1 -1
@@ 13,7 13,7 @@ a temporary directory}

\item{commit}{"\code{.}" for the current source tree or the commit identifier for a specific commit}

\item{branch, credentials, progressed}{passed on to \code{\link[git2r:clone]{git2r::clone()}}.}
\item{branch, credentials, progress}{passed on to \code{\link[git2r:clone]{git2r::clone()}}.}
}
\value{
data frame (tibble)

R man/cloc_reognized_languages.Rd => man/cloc_recognized_languages.Rd +3 -3
@@ 1,10 1,10 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cloc-recognized-languages.r
\name{cloc_reognized_languages}
\alias{cloc_reognized_languages}
\name{cloc_recognized_languages}
\alias{cloc_recognized_languages}
\title{Return a data frame of \code{cloc} recognized languages and associated extensions}
\usage{
cloc_reognized_languages()
cloc_recognized_languages()
}
\value{
tibble