Elsewhere in the world (under IFRS accounting rules) capitalization of R&D costs has been a firm requirement for a while. The US has been somewhat unique in allowing them to be expensed instead, until recently.
Yeah, seems I was wrong about that. Apparently most IFRS countries allow expensing R&D for tax purposes, regardless of accounting. Many even have an R&D superdeduction nowadays.