Internal function to make new system-level docvars
Arguments
- n
the number of documents
- docname
a character vector for the names of documents. Must be the same length as
norNULL. If NULL, names are generated automatically.- unique
if
TRUE, names must be all unique. IfFALSE, documents with the same names are treated as segments from the same document and given serial number.- drop_docid
if
TRUE, drop unused names of documents.