There won't be any drug-sniffing dogs when you're checking in, so your real issue could be the cruise line's policies. However…. either consume or dispose of all of your edibles before coming back into the country. They DO have drug-sniffing dogs checking all the luggage and passengers as they get off the ship.