The IRS posted guidance just in the nick of time for some taxpayers on the treatment of research and experimentation expenses under the new tax law.