Deductions & credits

The Substantial Presence Test is 183 days, not 186 days, so it sounds like you met the test are a Dual Status Alien in 2018  (Nonresident for part of the year and Resident for the other part).

However, from what  I have been told, TurboTax is not particularly helpful with Dual Status returns, and does not ask you about any of the possible elections.  So you may consider a tax professional this year that is experienced with Nonresident Aliens.