Message-ID: <ee211d60cba848a2b64119d86b0750dba5cdac48.camel@math.aau.dk>
Date: 2020-01-10T10:55:19Z
From: Mikkel Meyer Andersen
Subject: [R-pkg-devel] Problem with package using reticulate (and Config in DESCRIPTION)
In-Reply-To: <7d0efdd0eec1fc5ee22082a2fdc278ba1b5427a2.camel@math.aau.dk>
I finally got this to work by removing the Config part of DESCRIPTION
and reverting back to functionality inside .onLoad(). Please see code
that does not trigger any warnings/errors here:
https://github.com/r-cas/caracas/tree/418b3a552de0203c3d2f960f0e4235f7891db71d
Cheers,
Mikkel.
tor, 09 01 2020 kl. 18:20 +0100, skrev Mikkel Meyer Andersen:
> Hello,
>
> I have submitted a package (source at
> https://github.com/r-cas/caracas)
> depending on reticulate to CRAN and it failed:
>
> package caracas_0.0.1.tar.gz does not pass the incoming checks
> automatically, please see the following pre-tests:
> Windows: <
>
https://win-builder.r-project.org/incoming_pretest/caracas_0.0.1_20200108_193959/Windows/00check.log
> >
>
> Status: 6 WARNINGs, 6 NOTEs
> Debian: <
>
https://win-builder.r-project.org/incoming_pretest/caracas_0.0.1_20200108_193959/Debian/00check.log
> >
>
> Status: 1 ERROR, 5 WARNINGs, 6 NOTEs
>
> More details are given in the directory:
> <
>
https://win-builder.r-project.org/incoming_pretest/caracas_0.0.1_20200108_193959/
> >
>
> As far as I can read, the NOTE's and WARNING's are related to these:
>
> /usr/bin/python: No module named pip
>
> error: could not find a Python environment for /usr/bin/python
>
> Warning: cannot find svn location for rst2pdf===0.93.dev-r0
> You are using pip version 9.0.1, however version 19.3.1 is available.
> You should consider upgrading via the 'python -m pip install --
> upgrade
> pip' command.
>
> Can anybody see what the error in my package code is?
>
> Cheers,
> Mikkel.