~hrbrmstr/cloc

b4066286df3abd5b7af83ab1d5d954c7e442eeb4 — boB Rudis 6 years ago 64e2180
pre-CRAN flight check
5 files changed, 32 insertions(+), 3 deletions(-)

M .Rbuildignore
A cran-comments.md
M man/cloc.Rd
M man/cloc_by_file.Rd
M man/cloc_pkg.Rd
M .Rbuildignore => .Rbuildignore +1 -0
@@ 7,3 7,4 @@
^README\.md$
^codecov\.yml$
^appveyor\.yml$
^cran-comments\.md$

A cran-comments.md => cran-comments.md +28 -0
@@ 0,0 1,28 @@
## Test environments
* local OS X install, R 3.5.1
* ubuntu 14.04 (on travis-ci), R 3.5.1
* win-builder (devel and release)

## R CMD check results

0 errors | 0 warnings | 1 note

* This is a new release.

## Reverse dependencies

This is a new release, so there are no reverse dependencies.

---

* This package is useful for generating metrics
  to measure code complexity and language diversity
  as well as coding-style.

* I had neglected to re-build the Rd files before the
  first submission. Ironically, I modified the package 
  tests and examples to remove the .java file (since the
  CRAN pre-check system seems incapable of distinguishing
  between example files and actual code for pacakges when
  there's a .java file in the inst/ directory). This
  has been fixed.

M man/cloc.Rd => man/cloc.Rd +1 -1
@@ 24,7 24,7 @@ Count lines of code, comments and whitespace in source files/archives
cloc(system.file("extdata", package="cloc"))

# by file
cloc(system.file("extdata", "App.java", package="cloc"))
cloc(system.file("extdata", "qrencoder.cpp", package="cloc"))

# requires a network connection therefore is set for you to run it manually
\dontrun{

M man/cloc_by_file.Rd => man/cloc_by_file.Rd +1 -1
@@ 27,5 27,5 @@ Unlike it's \code{cloc()} counterpart, no percentages are reported by this funct
str(cloc_by_file(system.file("extdata", package="cloc")))

# single file
str(cloc_by_file(system.file("extdata", "App.java", package="cloc")))
str(cloc_by_file(system.file("extdata", "qrencoder.cpp", package="cloc")))
}

M man/cloc_pkg.Rd => man/cloc_pkg.Rd +1 -1
@@ 25,7 25,7 @@ IDE tempdirs, \code{.git}, \code{inst}, \code{man}.
cloc(system.file("extdata", package="cloc"))

# by file
cloc(system.file("extdata", "App.java", package="cloc"))
cloc(system.file("extdata", "qrencoder.cpp", package="cloc"))

# requires a network connection therefore is set for you to run it manually
\dontrun{