therneau / survival

Survival package for R
381 stars 104 forks source link

broken Rd markup #229

Closed bastistician closed 1 year ago

bastistician commented 1 year ago

Checking survival under _R_CHECK_RD_CHECKRD_MINLEVEL_=-Inf in R-devel highlighted two issues with Rd markup:

https://github.com/therneau/survival/blob/e8de7b732daa9a82c1ceaad93fd68ee7545c7736/man/dsurvreg.Rd#L78 gives F(t)1 - exp((-lambda t)^p) in text-mode help: I suppose F(t)}{ was meant to be F(t)=.

https://github.com/therneau/survival/blob/e8de7b732daa9a82c1ceaad93fd68ee7545c7736/man/survfit.formula.Rd#L162 lacks a backslash escape for the \code macro.

therneau commented 1 year ago

Now fixed in my copy; thanks.