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

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

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

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

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

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

[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

[Rd] R 3.5.3 is released

2019-03-11 Thread Peter Dalgaard via R-devel
The build system rolled up R-3.5.3.tar.gz (codename "Great Truth") this morning. The list below details the changes in this release. This is the wrap-up release for the 3.5.x series, so actually, not much has happened. You can get the source code from

[Rd] Discrepancy between is.list() and is(x, "list")

2019-03-11 Thread Shian Su
Hi R-devel, I have noticed a discrepancy between is.list() and is(x, “list”), which I previously believed to be synonymous. On R version 3.5.2 (2018-12-20): data(iris) is.list(iris)# TRUE is(iris, “list”) # FALSE Is this discrepancy intentional? Kind regards, Shian Su

[Rd] Exit status of Rscript when setting options(error=utils::recover)

2019-03-11 Thread comic fans
Hello, I've noticed that Rscript didn't exit with error code if I set options error = utils::recover in .Rprofile . for example Rscript -e "asdf" Error: object 'asdf' not found No suitable frames for recover() echo $? 0 if didn't set options in .Rprofile, Rscript exit with error code 1, is