Created
October 29, 2015 04:28
-
-
Save emhart/a1417d37214354632946 to your computer and use it in GitHub Desktop.
Minimal example of royxgen2 issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#' The length of a string (in characters). | |
#' | |
#' @param string input character vector | |
#' @return numeric vector giving number of characters in each element of the | |
#' character vector. Missing strings have missing length. | |
#' @seealso \code{\link{nchar}} which this function wraps | |
#' @export | |
#' @examples | |
#' str_length(letters) | |
#' str_length(c("i", "like", "programming", NA)) | |
str_length <- function(string) { | |
string <- check_string(string) | |
nc <- nchar(string, allowNA = TRUE) | |
is.na(nc) <- is.na(string) | |
nc | |
} | |
> roxygen2::roxygenise(".") | |
First time using roxygen2 4.0. Upgrading automatically... | |
Writing NAMESPACE | |
Warning messages: | |
1: @title [test.R#1]: unknown tag | |
2: @description [test.R#1]: unknown tag | |
3: @param [test.R#4]: unknown tag | |
4: @return [test.R#5]: unknown tag | |
5: @seealso [test.R#7]: unknown tag | |
6: @export [test.R#8]: unknown tag | |
7: @examples [test.R#9]: unknown tag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@kevinushey see below as well as this issue