Compounds having the following formula I:or a stereoisomer or pharmaceutically-acceptable salt thereof, where R, R, R, R, and Rare as defined herein, are useful in the modulation of IL-12, IL-23 and/or IFNα, by acting on Tyk-2 to cause signal transduction inhibition.L'invention concerne des composés présentant la formule suivante (I), ou un stéréoisomère ou sel pharmaceutiquement acceptable de ceux-ci. Dans ladite formule, R1, R2, R3, R4 et R5 sont tels que définis dans la description. Ces composés sont utiles dans la modulation d'IL-12, IL-23 et/ou IFNα, en ce qu'ils agissent sur Tyk-2 pour inhiber la transduction de signal.