If you want to do it inline than you would put two backticks on either side with a space between the code and the sets of backticks. It would look like this:
`` base::`%in%` ``
which gives you this: base::`%in%`
or of course, you could do it in a code chunk with 3 backticks above and below the code:
base::`%in%`