Quotmod functions apparently working in manual testing