问题
What is the way to format a call to importFrom
while using roxygen2
?
I can see two approaches:
importFrom base %in%
or
importFrom base `%in%`
Obviously we wouldn't import a base function into a package but this is for demo's sake.
回答1:
I tested it out HERE and it seems:
importFrom base %in%
is appropriate
来源:https://stackoverflow.com/questions/23280696/roxygen2-importfrom-and-binary-operator