Bug: RPackageNode has a problem when root of the tree.
Cleaning up.
RPackage API change: use categoryName, not name.