Deductions & credits

Thanks for replying…I know the IRS always wants what’s coming to them. What’s preventing me from renting and sitting on this gain for a couple of yrs. Got to be sometime the IRS will come a knocking