Browse Source

pre-CRAN flight check

master
boB Rudis 6 years ago
parent
commit
b4066286df
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 1
      .Rbuildignore
  2. 28
      cran-comments.md
  3. 2
      man/cloc.Rd
  4. 2
      man/cloc_by_file.Rd
  5. 2
      man/cloc_pkg.Rd

1
.Rbuildignore

@ -7,3 +7,4 @@
^README\.md$
^codecov\.yml$
^appveyor\.yml$
^cran-comments\.md$

28
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.

2
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{

2
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")))
}

2
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{

Loading…
Cancel
Save