om]
> Sent: 19 December 2017 19:22
> To: Georgi Boshnakov
> Cc: Tomas Hudik; r-package-devel@r-project.org
> Subject: Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings
>
> > This actually is not about Rd format. Indeed, you are using 'roxygen'
mas Hudik; r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings
This actually is not about Rd format. Indeed, you are using 'roxygen' syntax.
This is unrelated to roxygen. \dontrun{} is Rd formatting.
Hadley
__
Cc: Tomas Hudik; r-package-devel@r-project.org
Subject: Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings
> This actually is not about Rd format. Indeed, you are using 'roxygen'
> syntax.
This is unrelated to roxygen. \dontrun{} is Rd formatting.
Ha
> This actually is not about Rd format. Indeed, you are using 'roxygen'
> syntax.
This is unrelated to roxygen. \dontrun{} is Rd formatting.
Hadley
--
http://hadley.nz
__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/list
eorgi Boshnakov
-Original Message-
From: R-package-devel
[mailto:r-package-devel-boun...@r-project.org<mailto:r-package-devel-boun...@r-project.org>]
On Behalf Of Tomas Hudik
Sent: 18 December 2017 13:38
To: r-package-devel@r-project.org<mailto:r-package-devel@r-project.org>
so
> months or years later.
>
> Kind regards,
> Georgi Boshnakov
>
> -Original Message-
> From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On
> Behalf Of Tomas Hudik
> Sent: 18 December 2017 13:38
> To: r-package-devel@r-project.or
age-
From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf
Of Tomas Hudik
Sent: 18 December 2017 13:38
To: r-package-devel@r-project.org
Subject: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings
Hi there,
If I write a function with documentation (notice `
Hi there,
If I write a function with documentation (notice `\dontrun` section)
#' Print a string.
#'
#' @examples
#' \dontrun{
#' str_length(letters)
#'}
print_str <- function(str) {
print(string)
}
`roxygenize()` will create proper Rd file, however, `R CMD check .` will
generate:
```
...
## N