ergm icon indicating copy to clipboard operation
ergm copied to clipboard

Code to produce term index in ergm-term-crossRef.Rmd should quote the Rd to prevent spurious links in Markdown.

Open krivit opened this issue 3 years ago • 2 comments

We get the following on the WinBuilder:

Found the following (possibly) invalid file URIs:
  URI: y%5Bi,j%5D
    From: inst/doc/ergm-term-crossRef.html
  URI: 0
    From: inst/doc/ergm-term-crossRef.html

This turned out to be a result of the following Rd segments in ergm-terms.Rd: https://github.com/statnet/ergm/blob/141318c3639245262a956b044949b7f6d6923253/man/ergm-terms.Rd#L495-L508 where [...](...) is mistaken for a link.

@skyebend , any idea how this should be done? @joycecheng , is the new implementation affected by this?

krivit avatar Jun 14 '21 07:06 krivit

seems like a bug in the CRAN link parser, but maybe putting line 496 and 497 on the same line would help it recognize that it is inside the \deqn escape? are \deqn and \eqn the same thing?

skyebend avatar Jun 14 '21 15:06 skyebend

Possibly. Just noticed that the windows build is failing on my branch as well before the vignettes are built. I'll port whatever fix ends up being applied to master.

joycecheng avatar Jun 15 '21 04:06 joycecheng