ropensci / redland-bindings

Redland librdf language bindings
http://librdf.org/bindings/
Other
17 stars 3 forks source link

Roxygen related error during check() #73

Closed gothub closed 6 years ago

gothub commented 6 years ago

Updating source comments in redland-package.R may have resulted in Roxygen related errors during check():

< Warning messages:
< 1: In parse_Rd(ifile, encoding = encoding, macros = macros) :
<   /Users/slaughter/git/ropensci/redland-bindings/R/redland.Rcheck/00_pkg_src/redland/man/redland.Rd:24: unexpected macro '\linkS4class', expecting '{'

A sample previously generated line from the redland.rd file:

Resource / Literal\tab librdf_node\tab \link[=Node-class]{redland::Node}\tab RDF Model & Syntax nodes\cr

... and the new one:

Resource / Literal\tab librdf_node\tab \link\linkS4class{=Node}{redland::Node}\tab RDF Model & Syntax nodes\cr
gothub commented 6 years ago

Updated \link to \linkS4class in redland-packge.R to fix this in commit 42da93e93e6ed1f89b6c21a25a4e53ac40a69e4f.

Not sure why this wasn't seen before, as it appears to be a change in roxygen2 6.0.1. The roxygen2 NEWS file didn't clear things up. Anyway, it's fixed now and the links in the .rd file are active.