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

2017-12-20 Thread Tomas Hudik
in the rendered page. I don't argue > whether it should be the one shown now or should be left entirely to the > package author, although the current one seems reasonable to me. > > Georgi > > > -Original Message- > From: Hadley Wickham [mailto:h.wick...@gmail.c

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

[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