Exporting non-S3-methods with dots in the name using roxygen2 v4

Solution 1:

As Mr Flick commented, appending the full function name to the roxygen line works correctly. If I change the line to:

#' @export check.arg

then the NAMESPACE file contains:

export(check.arg)