简体   繁体   中英

roxygen2 importFrom and binary operator

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.

I tested it out HERE and it seems:

importFrom base %in%

is appropriate

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM