Fix manifest and import of R