search for: rdversion

Displaying 5 results from an estimated 5 matches for "rdversion".

Did you mean: dversion
2009 Jun 20
2
Special characters in Rd example section will cause errors
Hi (Duncan?), The other day I noticed some characters will cause errors in R CMD CHECK because of parse_Rd(), and AFAIK, these chars include '%', '{' and '}'. For example, note the comments in the example section: %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% \name{testfun} \Rdversion{1.1} \alias{testfun} \title{ A Test } \description{ A test } \usage{ testfun() } \value{ NULL } \author{ Yihui Xie } \examples{ # special characters in comments # what if a bracket '{' here? } \keyword{ misc } %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~% ## error occurs > tools:::parse_Rd('...
2009 Oct 23
0
Documenting related data sets
Say I want to include the data from Minard's march on Moscow graphic in a package. They consist of three data frames, Minard.troops, Minard.cities, Minard.temp. I've determined that I can document them all in one .Rd file, Minard.Rd, that starts: \name{Minard} \Rdversion{1.1} \alias{Minard} \alias{Minard.cities} \alias{Minard.troops} \alias{Minard.temp} \docType{data} \title{ Data from Minard's famous graphic map of Napoleon's march on Moscow } ... \usage{ data(Minard.troops) data(Minard.cities) data(Minard.temp) } ... But, AFAICS, it seems I have to save...
2009 Jul 28
1
Advice sought about Rd versions
From R 2.9.0 we have the concept of versions for Rd files. The manual is clear about the differences but I am unsure as to what I should do about my existing packages. Is it recommended that I set the version to 1.1 and then fix the errors R CMD check helpfully points out and then subsequently do the same for later versions (the manual mentions version 2 is coming)? What benefit will I gain?
2009 Apr 17
0
R 2.9.0 is released
...tcltk' when checking for code problems, so more problems may be reported. o For R CMD SHLIB on Windows the default 'all' target only makes the DLL, and no longer call targets 'before' and 'after'. Rd CONVERSION o Rd files have an optional \Rdversion{} section, which if missing defaults to 1.0. There is support for version 1.1, a slightly modified version with the following changes: - The warnings for \code{} inside example are suppressed. - Whitespace between arguments in \item and \section is accep...
2009 Apr 17
0
R 2.9.0 is released
...tcltk' when checking for code problems, so more problems may be reported. o For R CMD SHLIB on Windows the default 'all' target only makes the DLL, and no longer call targets 'before' and 'after'. Rd CONVERSION o Rd files have an optional \Rdversion{} section, which if missing defaults to 1.0. There is support for version 1.1, a slightly modified version with the following changes: - The warnings for \code{} inside example are suppressed. - Whitespace between arguments in \item and \section is accep...