The Impact Of Cosmic Rays On Star Formation