Displaying 1 result from an estimated 1 matches for "my_package_name".
Did you mean:
ac_package_name
2009 Dec 18
2
Package creation - require statement?
...package.skeleton, edited the .Rd files and the DESCRIPTON file.
In one of my package functions I am using RODBC so I have a line of code
that reads: require(RODBC).
In my DESCRIPTION file I have the following relevant line:
Depends: R (>= 2.9.0), RODBC
However, when I do a check (Rcmd check my_package_name) I get this warning:
* checking for unstated dependencies in R code ... WARNING
'library' or 'require' calls not declared from:
RODBC
See the information on DESCRIPTION files in the chapter 'Creating R
packages' of the 'Writing R Extensions' manual.
Does anyone kn...