-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vulnerability to PROJ6/GDAL3 #18
Comments
The development version of rgdal will be released soon, so now is the time to correct this. Please act now, or be obliged to act when CRAN gives you a short deadline to avoid being archived. |
Action is required urgently. The problem is the line specified:
which should simply not abuse the developers of rgdal and raster by assuming that they will never wish to alert you to possible workflow degradations. Running with debug() for
and
So you need to decide how to handle degradations in coordinate reference systems, see also: https://rgdal.r-forge.r-project.org/articles/CRS_projections_transformations.html rgdal will be submitted to CRAN very shortly. |
This leads to an error in your 2.1.2 in one platform on CRAN which will spread - mute/drop |
Dear Dr. Bivand,
thank you for your message. I will remove that expect_silent from testthat
and resubmit the package.
For information, after a successful resubmission two weeks back following
proj6-related change, Prof. Ripley indicated me a new check error on
BIOMASS, which appeared only when _R_CHECK_SUGGESTS_ONLY_=false
I am working on this error for a few days now but cannot reproduce the
error using rhub because either data.table seems to be not installed on the
rhub platform "Windows Server 2008 R2 SP1, R-devel, 32/64 bit" or "proj4"
is not found on the rhub platform "Ubuntu Linux 16.04 LTS, R-release, GCC"
(while I have no problem on Fedora). Any recommendation to reproduce the
CRAN error is welcomed (I have no error or warning on my computer through
the R CMD check etc.).
Best regards,
Maxime
Le mer. 24 juin 2020 à 18:13, Roger Bivand <notifications@github.com> a
écrit :
… This leads to an error in one platform on CRAN which will spread -
mute/drop expect_silent(computeAGB(D, WD$meanWD, coord = c(74.91944,
14.36806))) immediately. I'm seeing this running the development version
of *raster*. Never, ever use testthat::expect_silent() unless you control
all of the computations.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJRTQCW6CCZY2YUAQUXTCDTRYIQZRANCNFSM4KEXQLDA>
.
--
Maxime Réjou-Méchain
Researcher
botAnique et Modélisation de l'Architecture des Plantes et des Végétations
(AMAP)
TA A51/PS2, 34398 Montpellier Cedex 05, France
Tel. : +33 (0)4 67 61 65 34
Fax : +33 (0)4 67 61 56 68
Personal website <https://maximerejou.wordpress.com/>
<maxime.rejou@gmail.com>
|
When that environment variable is set: `R_CHECK_SUGGESTS_ONLY=false R CMD check --as-cran BIOMASS_2.1.2.tar.gz on a system without any of the Suggests: packages, the package should pass. Prepare a platform first with only the Depends: and Imports: packages, installed with dependencies=NA, so that they recursively install only packages that they need but do not just suggest. Some of your Suggests: will be present, but others will not. The package must check that Suggests: packages can be loaded/attached before they are used. When you find the error caused by a missing suggested package, you'll also find the place in your examples, tests, vignettes or code that must be protected from execution unless the package is present on the system. Package installation only ever installs Depends:, Imports: and Linking-To: unless told to install Suggests too. |
Thank you for the rapid response. I have just completed the test with a R
platform where the suggested packages were removed and think that
identified the issue. Thank again for your help.
Maxime
Le jeu. 25 juin 2020 à 09:36, Roger Bivand <notifications@github.com> a
écrit :
… When that environment variable is set: `*R_CHECK_SUGGESTS_ONLY*=false R
CMD check --as-cran BIOMASS_2.1.2.tar.gz on a system without any of the
Suggests: packages, the package should pass. Prepare a platform first with
only the Depends: and Imports: packages, installed with dependencies=NA, so
that they recursively install only packages that they need but do not just
suggest. Some of your Suggests: will be present, but others will not. The
package must check that Suggests: packages can be loaded/attached before
they are used. When you find the error caused by a missing suggested
package, you'll also find the place in your examples, tests, vignettes or
code that must be protected from execution unless the package is present on
the system. Package installation only ever installs Depends:, Imports: and
Linking-To: unless told to install Suggests too.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJRTQCW2YH672GLG6CJQQ5DRYL5AZANCNFSM4KEXQLDA>
.
--
Maxime Réjou-Méchain
Researcher
botAnique et Modélisation de l'Architecture des Plantes et des Végétations
(AMAP)
TA A51/PS2, 34398 Montpellier Cedex 05, France
Tel. : +33 (0)4 67 61 65 34
Fax : +33 (0)4 67 61 56 68
Personal website <https://maximerejou.wordpress.com/>
<maxime.rejou@gmail.com>
|
Running revdeps from sp (sp (my github fork) with development rgdal from R-Forge):
a test fails:
See:
http://rgdal.r-forge.r-project.org/articles/PROJ6_GDAL3.html
r-spatial/sf#1231
r-spatial/sf#1187
r-spatial/sf#1146
r-spatial/discuss#28
for background. See:
r-spatial/discuss#28 (comment)
for a way of testing fixes in a docker container contributed by Jakub Nowosad.
The text was updated successfully, but these errors were encountered: