yonicd/sinew

[Docs] Cannot build pkgdown site

Blackglade opened this issue · 2 comments

I get the following error when trying to build a pkgdown site via build_site() during the Building Function Reference section:

Reading 'man/sinew_opts.Rd'
List of 29
 $ add_fields       : chr [1:4] "details" "examples" "seealso" "author"
 logi TRUEprint     :
 chr "Jonathan Sidi":
 chr "src/filename.cpp"
 $ concept          : chr "CONCEPT_TERM_1 [CONCEPT_TERM_2]"
 chr "FUNCTION_NAME DESCRIPTION"
 chr "DETAILS"      :
 $ example          : chr "path_to_file/relative/to/packge/root"
 chr "\n#' \\dontrun{\n#' if(interactive()){\n#'  #EXAMPLE1\n#'  }\n#' }"
 chr ""rt           :
 chr "FAMILY_TITLE" :
 $ field            : chr "FIELD_IN_S4_RefClass DESCRIPTION"
 chr "DATA_STRUCTURE"
 chr "PKG CLASS_a [CLASS_b]"
 chr "PKG METHOD_a [METHOD_b]"
 $ include          : chr "FILENAME.R [FILENAME_b.R]"
 chr "[PKG::]SOURCE_FUNCTION [FIELD_a FIELD_b]"
 chr "[PKG::]SOURCE_FUNCTION"
 $ inheritSection   : chr "[PKG::]SOURCE_FUNCTION [SECTION_a SECTION_b]"
 $ keywords         : chr "KEYWORD_TERM"
 chr "NAME"         :
 chr "FUNCTION_NAME":
 chr "BIB_CITATION" :
 $ section          : chr "SECTION_NAME"
 chr "\\url{http://somewhere.important.com/}"
 chr "SLOTNAME DESCRIPTION"
 $ template         : chr "FILENAME"
templateVar      : chr "NAME VALUE"
 chr "PKG [ROUTINE_a ROUTINE_b]"
Error : \Sexpr{result=verbatim} not yet supported
Error: callr subprocess failed: \Sexpr{result=verbatim} not yet supported

problem is here

https://github.com/metrumresearchgroup/sinew/blob/master/R/opts.R#L54

will remove the Sexpr from the fn doc

pkgdown site is up. closing