If you have a valid USA visa or Canada Visa you can transit through Frankfurt without any issues. Yes COPR with PR visa stamp on your passport is valid visa to transit through Germany as long as you are not transiting to a Schengen country before reaching Canada.