[R-pkg-devel] checking CRAN incoming feasibility
David Hugh-Jones
d@v|dhughjone@ @end|ng |rom gm@||@com
Tue Jan 16 09:47:07 CET 2024
If I understand correctly, the current procedure is that the client
downloads every package name from CRAN, and then checks its name is
unique. Wouldn’t
it be faster (for both parties) to check name uniqueness directly on the
server?
Writing: wyclif.substack.com
Book: www.wyclifsdust.com
On Tue, 16 Jan 2024 at 05:25, Hugh Parsonage <hugh.parsonage using gmail.com>
wrote:
> > Surely the software just has to check
> that there is web connection to a CRAN mirror.
>
> Nope! The full code is in tools:::.check_package_CRAN_incoming (the
> body of which filled up my entire console), but to name a few checks
> it has to do: check that the name of the package is not the same as
> any other, including archived packages (which means that it has to
> download the package metadata), make sure the licence is ok, see if
> the version number is ok. 10 minutes is quite a lot though. I suspect
> the initial connection may have been faulty.
>
> On Tue, 16 Jan 2024 at 16:15, Rolf Turner <rolfturner using posteo.net> wrote:
> >
> >
> > This post essentially amounts to idle curiosity. I don't really expect
> > that anything can be done about the problem that I perceive.
> >
> > When I check a package using --as-cran, the code spits out a line
> >
> > checking CRAN incoming feasibility ...
> >
> > and then disappears into a black hole for what seems an eternity (5 or
> > 10 minutes).
> >
> > Why does this step take so long? Surely the software just has to check
> > that there is web connection to a CRAN mirror. I would have thought
> > that this would be executed virtually instantaneously.
> >
> > cheers,
> >
> > Rolf Turner
> >
> > --
> > Honorary Research Fellow
> > Department of Statistics
> > University of Auckland
> > Stats. Dep't. (secretaries) phone:
> > +64-9-373-7599 ext. 89622
> > Home phone: +64-9-480-4619
> >
> > ______________________________________________
> > R-package-devel using r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list