[Rd] Wishlist: system.file(... package) throw an error if package not installed/path not found

2010-01-14 Thread Henrik Bengtsson
Currently, system.file() on a non-existing package returns an empty string: path - system.file(package=foo); print(path); [1] The same goes for non-existing paths in existing package directories: path - system.file(foo, package=base); print(path); [1] Is there a rationale for this, or is it

Re: [Rd] Wishlist: system.file(... package) throw an error if package not installed/path not found

2010-01-14 Thread Simon Urbanek
On Jan 14, 2010, at 15:01 , Henrik Bengtsson wrote: Currently, system.file() on a non-existing package returns an empty string: path - system.file(package=foo); print(path); [1] The same goes for non-existing paths in existing package directories: path - system.file(foo, package=base);