Comments (6)
I think you're having that problem because you're missing a line between your title and the roxygen tags.
from roxygen2.
No, even if I add a line there (see above), usage
is still NULL
from roxygen2.
Weird - I've incorporated the test and it seems to work, so I must have fixed it.
from roxygen2.
It cannot pass R CMD check
here:
* using R version 2.14.1 (2011-12-22)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* checking for file ‘roxygen2/DESCRIPTION’ ... OK
* this is package ‘roxygen2’ version ‘2.2.2’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking whether package ‘roxygen2’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking for unstated dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking examples ... OK
* checking for unstated dependencies in tests ... OK
* checking tests ...
Running ‘test-all.R’
ERROR
Running the tests in ‘tests/test-all.R’ failed.
Last 13 lines of output:
Rd - examples : ........
Rd - usage : ......1..
Rd : ....................................................
Wrap DESCRIPTION fields only when necessary : .........
1. Failure: @usage overrides default for @docType data -------------------------
get_tag(out, "usage")$values not equal to "data(abc)"
Modes: character, NULL
Lengths: 1, 0
target is character, current is NULL
Error: Test failures
Execution halted
from roxygen2.
Sorry, that's fixed in the S4 branch.
from roxygen2.
OK, I see. Thanks a lot!
from roxygen2.
Related Issues (20)
- Consider removing the `pkg::` prefix in the `Super classes` section when parent classes originate from the same package
- Broken support for `#' @importFrom` with backticks not documented HOT 7
- multi-line @rawNamespace + @import directives lead to mangled NAMESPACE on re-run HOT 1
- Regression: ‘roxygen2’ 7.3.0 fails to parse name of S3 method for class `{` HOT 2
- Release roxygen2 7.3.1
- Lost braces
- Autolinking with markdown functions does not produce the correct .Rd
- Obscure error "bad value" from leadingSpaces() HOT 2
- Drop 'if getRversion() >= "3.4.0"' qualification under examplesIf tag?
- roxygen2::roxygenize() trying to process too many files HOT 2
- Ability to use `inherit` to import contents but not overwrite
- S3 diagnostics suggests correction with typo
- don't use error cli output for 'skipping' entries
- `@export` all.equal S3 method error HOT 3
- Person declared as maintainer and author in DESCRIPTION loses author assignment in pkgname-package.Rd
- roxygenize error: "Caused by error in `basename()`: a character vector argument expected" HOT 6
- Typos: @exportS3method -> @exportS3Method HOT 1
- Consider checking @export or @exportS3method tags only for exported objects HOT 9
- Checking for missing S3 method exports hangs "forever" if you have large data objects in the package HOT 1
- @include tag does not handle line breaks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from roxygen2.