missing closes. It'd be nice if RStudio reported this, as NetBeans does.