[R-pkg-devel] dependencies

Bryan Hanson hanson at depauw.edu
Wed Nov 22 02:19:16 CET 2017


Edit your DESCRIPTION file to include

imports: assertr

That’s why you get the "not required" message.

Bryan

> On Nov 21, 2017, at 7:54 PM, Cathy Lee Gierke <leegi001 at umn.edu> wrote:
> 
> Hi, I'm stuck.  I am using a function called col_concat from the package
> {assertr}.  But when I list it as a dependency, either by
> 
> import(assertr)
> 
> or
> 
> importFrom("assertr", "col_concat")
> 
> -----------
> 
> I get this error message:
> 
> * checking package dependencies ... ERROR
> 
> Namespace dependency not required: ‘assertr’
> 
> See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
> 
> manual.
> 
> * DONE
> 
> Status: 1 ERROR
> ​------------
> And when I take it out, I get a complaint that col_concat has no global
> definition.
> 
> What???
> 
> Thanks,
>> Cathy Lee Gierke
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-package-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list