Exhaust?

I’m wondering if straight piping a r7 from the o2 sensor back would cause a engine code?