Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

2017-12-20 Thread Tomas Hudik
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'

Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

2017-12-19 Thread Duncan Murdoch
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 __

Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

2017-12-19 Thread 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' > syntax. This is unrelated to roxygen. \dontrun{} is Rd formatting. Ha

Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

2017-12-19 Thread Hadley Wickham
> 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

Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

2017-12-19 Thread Georgi Boshnakov
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>

Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

2017-12-19 Thread Tomas Hudik
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

Re: [R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

2017-12-18 Thread Georgi Boshnakov
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 `

[R-pkg-devel] Fwd: R CMD check and strange ## Not run strings

2017-12-18 Thread Tomas Hudik
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