Whether or not R is part of Android framework is totally irrelevant. You have to ask yourself what you are actually trying to achieve with your architecture instead of following arbitrary rules for their own sake. Mostly we are concerned with testability since reusing ViewModels on a different platform never happens anyway.
Regardless, I would say that using resources in the ViewModel always warrants a closer look whether you are mixing concerns