Re: [R-pkg-devel] Fwd: Re: [CRAN-pretest-archived] CRAN submission SSLR 0.9.0

2020-03-11 Thread Martin Morgan
After running R CMD check SSLR_0.9.0.tar.gz there is a file SSLR.Rcheck/SSLR-Ex.R. Try running that R -f SSLR.Rcheck/SSLR-Ex.R my guess is that somewhere else in the examples you load a package that has a generic 'fit' that masks SSLR::fit in your package, so R is not able to find your

Re: [R-pkg-devel] Fwd: Re: [CRAN-pretest-archived] CRAN submission SSLR 0.9.0

2020-03-11 Thread Henrik Bengtsson
'fpalomares', it's not clear if you can reproduce this locally or not, but make sure you can reproduce it locally. I could using: R CMD check --as-cran SSLR_0.9.0.tar.gz with R 3.6.3 on Ubuntu 18.04. In other words, this is neither a problem with the CRAN incoming checks nor win-builder. Yes,

Re: [R-pkg-devel] Fwd: Re: [CRAN-pretest-archived] CRAN submission SSLR 0.9.0

2020-03-11 Thread Duncan Murdoch
Uwe Ligges answered you yesterday on this question. Duncan Murdoch On 11/03/2020 7:39 a.m., fpaloma...@correo.ugr.es wrote: Hi, I dont know how to fix this problem: https://win-builder.r-project.org/VK8P07E1QHFA/ The error is: Error in UseMethod("fit") : no applicable method for 'fit'

Re: [R-pkg-devel] Fwd: Re: [CRAN-pretest-archived] CRAN submission SSLR 0.9.0

2020-03-10 Thread Uwe Ligges
I do not speak roxygen, but you have to register the S3 method. Best, Uwe Ligges On 10.03.2020 17:28, fpaloma...@correo.ugr.es wrote: Hi, I thiks its weird: The error is:  no applicable method for 'fit' applied to an object of class "model_sslr" In the code: #' fit #' #' @title fit object

[R-pkg-devel] Fwd: Re: [CRAN-pretest-archived] CRAN submission SSLR 0.9.0

2020-03-10 Thread fpalomares
Hi, I thiks its weird: The error is: no applicable method for 'fit' applied to an object of class "model_sslr" In the code: #' fit #' #' @title fit object #' @param object object #' @param ... other parameters to be passed #' @rdname fit #' @export fit fit <- function(object, ...){