Hello,
Thank you all for the suggestions.

I am starting being a bit worried because I seem not being able to fix the 
issue.

I have never experienced issues with this package (movecost);
the last new version I have released to CRAN was released a couple of weeks ago 
with no issue whatsoever.

The new version I am trying to get on CRAN has just one difference: the ‘chorn’ 
package has been added to the dependencies.
Now, I have tried to drop that new dependency, and I have run the tests. Same 
result.
The test using devtools::check_win_release() and devtools::check_win_devel() 
both return 1 error (lazy loading failed for package ‘movecost’)

The test using devtools::check_win_oldrelease() is OK.


I also tried to keep the new dependency and to drop the lazy download instead 
(in DESCRIPTION I have put LazyData: false). I got the same results as above.

The package checks perfectly on my MAC, and checked perfectly when I asked a 
Win users to test the package on his PC (with the latest version of R).


I am really scratching my head.

Best
Gm

************************************************
Dr Gianmarco Alberti (PhD Udine)
Lecturer in Spatial Forensics
Coordinator of the BA dissertations
Department of Criminology
Faculty for Social Wellbeing
Room 332, Humanities B (FEMA)
University of Malta, Msida, Malta (Europe) - MSD 2080
tel +356 2340 3718

Academic profiles
https://www.researchgate.net/profile/Gianmarco_Alberti4
https://malta.academia.edu/GianmarcoAlberti

Google Scholar profile
https://scholar.google.com/citations?user=tFrJKQ0AAAAJ&hl=en

Correspondence Analysis website
http://cainarchaeology.weebly.com/

R packages on CRAN:
CAinterprTools
https://cran.r-project.org/web/packages/CAinterprTools/index.html

GmAMisc
https://cran.r-project.org/package=GmAMisc

movecost
https://cran.r-project.org/web/packages/movecost/index.html
************************************************
On 5 Jul 2021, 13:25 +0200, dbosa...@gmail.com, wrote:
> For the lazy loading error, if you are not intentionally lazy loading data, 
> you should remove the lazy loading entry from the description file. 
> Previously this was not causing any problems with the CRAN checks, but now it 
> is.
>
> -----Original Message-----
> From: R-package-devel <r-package-devel-boun...@r-project.org> On Behalf Of 
> Gianmarco Alberti
> Sent: Monday, July 5, 2021 5:27 AM
> To: r-package-devel@r-project.org; Uwe Ligges 
> <lig...@statistik.tu-dortmund.de>
> Subject: Re: [R-pkg-devel] package test returns error when R version 4.1.0
>
> Hello,
> Thanks for your reply.
>
> I got mixed results using:
> devtools::check_win_oldrelease() - STATUS OK (R version 4.0.5) - 
> https://win-builder.r-project.org/7qy6PL8C7ye7
>
> devtools::check_win_release() - 1 ERROR (R version 4.1.0) - 
> https://win-builder.r-project.org/hlA15dFq5BdR
>
> devtools::check_win_devel() - 1 ERROR (R Under development (unstable) - 
> https://win-builder.r-project.org/uQ0LGZ7v0E5h
>
> The reported error is to be:
> ERROR: lazy loading failed for package ‘movecost’
>
> Since I couldn’t understand the actual underlying issue, I ran 
> devtools::check_rhub() (as described in my earlier email) which brought to 
> the fore the Bioconductor issue.
>
> I have tested the package on Win (R version 4.1) and everything was fine.
>
> I hope I have addressed your question.
> Please let me know if you need any other relevant info from my end.
>
> Best
> Gm
>
> ************************************************
> Dr Gianmarco Alberti (PhD Udine)
> Lecturer in Spatial Forensics
> Coordinator of the BA dissertations
> Department of Criminology
> Faculty for Social Wellbeing
> Room 332, Humanities B (FEMA)
> University of Malta, Msida, Malta (Europe) - MSD 2080 tel +356 2340 3718
>
> Academic profiles
> https://www.researchgate.net/profile/Gianmarco_Alberti4
> https://malta.academia.edu/GianmarcoAlberti
>
> Google Scholar profile
> https://scholar.google.com/citations?user=tFrJKQ0AAAAJ&hl=en
>
> Correspondence Analysis website
> http://cainarchaeology.weebly.com/
>
> R packages on CRAN:
> CAinterprTools
> https://cran.r-project.org/web/packages/CAinterprTools/index.html
>
> GmAMisc
> https://cran.r-project.org/package=GmAMisc
>
> movecost
> https://cran.r-project.org/web/packages/movecost/index.html
> ************************************************
> On 5 Jul 2021, 11:20 +0200, Uwe Ligges <lig...@statistik.tu-dortmund.de>, 
> wrote:
> > What happens when you test it on winbuilder?
> > It is configured like the CRAN incoming checks and there should be all
> > relevant packages available.
> >
> > Best,
> > Uwe Ligges
> >
> >
> > On 05.07.2021 11:16, Gianmarco Alberti wrote:
> > > Hello,
> > > Further to my earlier email, I think I have located a likely issue, and I 
> > > would appreciate feedback.
> > >
> > > I ran devtools::check_rhub(), and somewhere in the flood of the output I 
> > > got there is the following message:
> > >
> > > Bioconductor does not yet build and check packages for R version 4.2
> > >
> > > The complete report that I got from devtools::check_rhub() is here:
> > > https://builder.r-hub.io/status/movecost_1.2.tar.gz-cbda0dbe4d7a4144
> > > 98921e9ab2a54aaf
> > >
> > >
> > > Any idea about how to proceed in order for me to get my package on CRAN?
> > > I am noticing that I am not the only one experiencing that isse 
> > > (https://github.com/r-hub/rhub/issues/471).
> > >
> > > Best
> > > GmA
> > >
> > > ************************************************
> > > Dr Gianmarco Alberti (PhD Udine)
> > > Lecturer in Spatial Forensics
> > > Coordinator of the BA dissertations
> > > Department of Criminology
> > > Faculty for Social Wellbeing
> > > Room 332, Humanities B (FEMA)
> > > University of Malta, Msida, Malta (Europe) - MSD 2080 tel +356 2340
> > > 3718
> > >
> > > Academic profiles
> > > https://www.researchgate.net/profile/Gianmarco_Alberti4
> > > https://malta.academia.edu/GianmarcoAlberti
> > >
> > > Google Scholar profile
> > > https://scholar.google.com/citations?user=tFrJKQ0AAAAJ&hl=en
> > >
> > > Correspondence Analysis website
> > > http://cainarchaeology.weebly.com/
> > >
> > > R packages on CRAN:
> > > CAinterprTools
> > > https://cran.r-project.org/web/packages/CAinterprTools/index.html
> > >
> > > GmAMisc
> > > https://cran.r-project.org/package=GmAMisc
> > >
> > > movecost
> > > https://cran.r-project.org/web/packages/movecost/index.html
> > > ************************************************
> > > On 5 Jul 2021, 09:49 +0200, Gianmarco Alberti 
> > > <gianmarcoalbe...@gmail.com>, wrote:
> > > > Good morning,
> > > >
> > > > I got stuck on what follows.
> > > > I have tested a new version of my package locally (on a MAC), and 
> > > > everything is fine.
> > > >
> > > > I got mixed results using:
> > > > devtools::check_win_oldrelease() - STATUS OK (R version 4.0.5) -
> > > > https://win-builder.r-project.org/7qy6PL8C7ye7
> > > >
> > > > devtools::check_win_release() - 1 ERROR (R version 4.1.0) -
> > > > https://win-builder.r-project.org/hlA15dFq5BdR
> > > >
> > > > devtools::check_win_devel() - 1 ERROR (R Under development
> > > > (unstable) - https://win-builder.r-project.org/uQ0LGZ7v0E5h
> > > >
> > > > The reported error seems to be:
> > > > ERROR: lazy loading failed for package ‘movecost'
> > > >
> > > >
> > > > I have asked a friend to run devtools::check() on his Win-based machine 
> > > > (running R version 4.1.0), and the test returned no problems (0 error, 
> > > > 0 warning, 0 notes).
> > > >
> > > > Since I cannot reproduce the error neither on my computer nor on a 
> > > > win-based machine, I am at loss of understanding where the issue 
> > > > actually lies.
> > > >
> > > > I would really appreciate any help and/or suggestion.
> > > >
> > > > Best
> > > > Gianmarco
> > > >
> > > >
> > > >
> > > >
> > > > ************************************************
> > > > Dr Gianmarco Alberti (PhD Udine)
> > > > Lecturer in Spatial Forensics
> > > > Coordinator of the BA dissertations Department of Criminology
> > > > Faculty for Social Wellbeing Room 332, Humanities B (FEMA)
> > > > University of Malta, Msida, Malta (Europe) - MSD 2080 tel +356
> > > > 2340 3718
> > > >
> > > > Academic profiles
> > > > https://www.researchgate.net/profile/Gianmarco_Alberti4
> > > > https://malta.academia.edu/GianmarcoAlberti
> > > >
> > > > Google Scholar profile
> > > > https://scholar.google.com/citations?user=tFrJKQ0AAAAJ&hl=en
> > > >
> > > > Correspondence Analysis website
> > > > http://cainarchaeology.weebly.com/
> > > >
> > > > R packages on CRAN:
> > > > CAinterprTools
> > > > https://cran.r-project.org/web/packages/CAinterprTools/index.html
> > > >
> > > > GmAMisc
> > > > https://cran.r-project.org/package=GmAMisc
> > > >
> > > > movecost
> > > > https://cran.r-project.org/web/packages/movecost/index.html
> > > > ************************************************
> > >
> > > [[alternative HTML version deleted]]
> > >
> > > ______________________________________________
> > > R-package-devel@r-project.org mailing list
> > > https://stat.ethz.ch/mailman/listinfo/r-package-devel
> > >
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel@r-project.org mailing list 
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to