On Fri, 23 Sept 2022 at 17:22, Iñaki Ucar <iu...@fedoraproject.org> wrote:
>
> [snip]
> Now, what if connection is suppressed during package load? There are
> basically three use cases out there:
>
> (1) The package requires additional files for the installation (e.g.
> the source code of an external library) that cannot be bundled into
> the package due to CRAN restrictions (size).
> (2) The package requires additional files for using it (e.g.,
> datasets, a JAR...) that cannot be bundled into the package due to
> CRAN restrictions (size).
> (3) Other spurious reasons (e.g. the maintainer decided that package
> load was a good place to check an online service availability, etc.).
>
> Again IMO, (3) shouldn't be allowed in any case; (2) should be a
> separate function that the user actively calls to download the files,
> and those files should be placed into the user dir, and (3) is the
> only legitimate use, but then other mechanism should be provided to
> avoid connections during package load.
> [snip]

I meant "(1) is the only legitimate use" above.

-- 
Iñaki Úcar

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

Reply via email to