Sometimes SCOTUS explicitly suggests in an opinion that it's time to overrule precedent but they don't want to do so in that case.
Most recently (that I'm aware of) is South Dakota v Wayfair. SCOTUS previously held that states couldn't impose sales tax on out-of-state companies. Subsequently, many states imposed "use taxes" which are essentially sales taxes paid by consumers on purchases they didn't pay sales tax already to get around this. Colorado passed a law which required out-of-state companies to essentially provide sales tax computation information to Colorado (but not sales tax itself), and Kennedy noted in his concurrence that maybe it was time to revisit the sales tax precedent. So South Dakota went ahead and passed a sales tax on out-of-state companies in direct violation of previous precedent, and SCOTUS promptly overturned that precedent when it heard the case.