I don't think this is expected behavior. It is marking a red checkmark saying "unexpected token '%>%'" however, this section runs perfectly, and this token is present within rstudio's current 1.2.5 release.
library(magrittr)
library(stringr)
"For some reason this message is having an issue with the pipe. It seems that
because this comment is on more than one line, that there is something wrong
with the formatting." %>% str_wrap %>% message
OR
# > sessionInfo()
# R version 3.6.3 (2020-02-29)
# Platform: x86_64-w64-mingw32/x64 (64-bit)
# Running under: Windows 10 x64 (build 17763)
# > rstudioapi::versionInfo()
# $mode [1] "desktop"
# $version [1] '1.3.884'
# $release_name [1] "Middlemist Red"