inst/make-doc-helpers.R

# inheritParams has trouble getting this roxygen comment correct, so have to
# manually overrride .Rd file

mnfile <- file("man/rapidrake.Rd")
rrrd <- readLines(mnfile)
new_rrrd <- gsub(
  "\\Q\\href{{https://rdrr.io/rforge/tm/man/stopwords.html}{tm::stopwords('SMART')}}\\E",
  "\\\\href{https://rdrr.io/rforge/tm/man/stopwords.html}{tm::stopwords('SMART')}",
  rrrd
)
writeLines(new_rrrd, mnfile)
close(mnfile)
crew102/rapidraker documentation built on Aug. 1, 2018, 2:43 p.m.