diff --git a/.Rbuildignore b/.Rbuildignore index 92430a8..9a9d79b 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -7,3 +7,4 @@ ^README\.md$ ^codecov\.yml$ ^appveyor\.yml$ +^cran-comments\.md$ diff --git a/cran-comments.md b/cran-comments.md new file mode 100644 index 0000000..fc23fc3 --- /dev/null +++ b/cran-comments.md @@ -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. diff --git a/man/cloc.Rd b/man/cloc.Rd index fc09c7c..7de1577 100644 --- a/man/cloc.Rd +++ b/man/cloc.Rd @@ -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{ diff --git a/man/cloc_by_file.Rd b/man/cloc_by_file.Rd index e244249..d177e0d 100644 --- a/man/cloc_by_file.Rd +++ b/man/cloc_by_file.Rd @@ -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"))) } diff --git a/man/cloc_pkg.Rd b/man/cloc_pkg.Rd index 2488305..091d8d0 100644 --- a/man/cloc_pkg.Rd +++ b/man/cloc_pkg.Rd @@ -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{