Displaying 1 result from an estimated 1 matches for "ddtry".
2011 Aug 24
1
silently testing for data from another package for .Rd examples
...set 'xxxxx' not found
>
> dd3 <- data(zzzzz, package="foobar")
Error in find.package(package, lib.loc, verbose = verbose) :
there is no package called 'foobar'
> dd3
Error: object 'dd3' not found
>
try() doesn't seem to help here:
> ddtry <- try(data(zzzzz, package="foobar"))
Error in find.package(package, lib.loc, verbose = verbose) :
there is no package called 'foobar'
> ddtry
[1] "Error in find.package(package, lib.loc, verbose = verbose) : \n
there is no package called 'foobar'\n"...