Re: [R-pkg-devel] Calls not declared

2019-03-11 Thread Elias Carvalho
Thank you all ! I used import and works perfectly. Em seg, 11 de mar de 2019 às 16:18, Duncan Murdoch escreveu: > On 11/03/2019 2:12 p.m., Jeff Newmiller wrote: > > Ah, so as long as you don't need to call a normal function to make use > of the returned object you don't need Depends. But in this

Re: [R-pkg-devel] Calls not declared

2019-03-11 Thread Duncan Murdoch
On 11/03/2019 2:12 p.m., Jeff Newmiller wrote: Ah, so as long as you don't need to call a normal function to make use of the returned object you don't need Depends. But in this example, the user would then need to call library(ggplot2) in order to, say, change an axis title. I think the curre

Re: [R-pkg-devel] Calls not declared

2019-03-11 Thread Jeff Newmiller
Ah, so as long as you don't need to call a normal function to make use of the returned object you don't need Depends. But in this example, the user would then need to call library(ggplot2) in order to, say, change an axis title. A bit more subtle than I thought. On March 11, 2019 10:07:12 AM PD

Re: [R-pkg-devel] Calls not declared

2019-03-11 Thread Duncan Murdoch
On 11/03/2019 11:32 a.m., Jeff Newmiller wrote: I did not see any mention of the distinction between Depends and Imports in the DESCRIPTION file... which is always a risk when duplicating existing documentation in an email. Imports is preferred because the user does not have to put definitions

Re: [R-pkg-devel] Calls not declared

2019-03-11 Thread Jeff Newmiller
I did not see any mention of the distinction between Depends and Imports in the DESCRIPTION file... which is always a risk when duplicating existing documentation in an email. Imports is preferred because the user does not have to put definitions only needed inside your package into their public

Re: [R-pkg-devel] Calls not declared

2019-03-11 Thread Duncan Murdoch
On 11/03/2019 9:53 a.m., Elias Carvalho wrote: I am developing my first package and found these errors when checking it. Any help? * checking dependencies in R code ... WARNING 'library' or 'require' calls not declared from: ‘qgraph’ ‘semPlot’ ‘sna’ ‘xlsx’ Without seeing your package I mi

[R-pkg-devel] Calls not declared

2019-03-11 Thread Elias Carvalho
I am developing my first package and found these errors when checking it. Any help? * checking dependencies in R code ... WARNING 'library' or 'require' calls not declared from: ‘qgraph’ ‘semPlot’ ‘sna’ ‘xlsx’ -- *In Jesu et Maria* *Obrigado* *Prof. Elias Carvalho* *"Felix, qui potuit re