Re: [R-pkg-devel] Errors in my package

2018-05-25 Thread Joris Meys
On Thu, May 24, 2018 at 10:11 PM, Steven Spiriti wrote: > > > x <- 0:30/30 > > truey <- x*sin(10*x) > > set.seed(10556) > > y <- truey + rnorm(31, 0, 0.2) > > xy.freekt <- freelsgen(x, y, degree = 2, numknot = 2, 555) > > coef(xy.freekt) > Error: $ operator not defined for this S4 class > Executi

Re: [R-pkg-devel] Errors in my package

2018-05-24 Thread Duncan Murdoch
On 24/05/2018 4:11 PM, Steven Spiriti wrote: To Whom It May Concern: I have created a package called "freeknotsplines" in R, and I need to make a few updates to it. I resubmitted the package, and received the following error message: checking examples ... ERROR Running examples in ‘freekn

Re: [R-pkg-devel] Errors in my package

2018-05-24 Thread Georgi Boshnakov
) > coef(xy.freekt) Then explore what is going on. Georgi Boshnakov -Original Message- From: R-package-devel [mailto:r-package-devel-boun...@r-project.org] On Behalf Of Steven Spiriti Sent: 24 May 2018 21:11 To: r-package-devel@r-project.org Subject: [R-pkg-devel] Errors in my packa

[R-pkg-devel] Errors in my package

2018-05-24 Thread Steven Spiriti
To Whom It May Concern: I have created a package called "freeknotsplines" in R, and I need to make a few updates to it. I resubmitted the package, and received the following error message: checking examples ... ERROR Running examples in ‘freeknotsplines-Ex.R’ failed The error most likely occ