pacificclimate / ncdf4.helpers

Routines to make using NetCDF files in R cleaner and easier.
5 stars 1 forks source link

Package ‘ncdf4.helpers’ was removed from the CRAN repository #1

Closed bouweandela closed 4 years ago

bouweandela commented 4 years ago

This package was recently removed from CRAN, https://cran.r-project.org/web/packages/ncdf4.helpers/

Package ‘ncdf4.helpers’ was removed from the CRAN repository.

Formerly available versions can be obtained from the archive.

Archived on 2019-11-16 as check problems were not corrected in time. 

Related to https://github.com/pacificclimate/climdex.pcic.ncdf/issues/16.

corviday commented 4 years ago

I have been working on returning this package to CRAN, but I have so far been unable to reproduce the errors CRAN is reporting with this package, so it has been slow going.

corviday commented 4 years ago

The issue seems to be that the project() function in the proj4 library, as used in some of our tests, behaves differently on different systems. Specifically, the results it returns on CRAN's Debian test system do not match the results it returns on CRAN's Windows test system, or any of the other systems I have checked with. This causes our tests that use proj4 to fail on CRAN's Debian test system.

I'm hoping this turns out to be an issue in the way we include or invoke proj4, rather than an error in proj4 itself.

bouweandela commented 4 years ago

Great to hear that you're making progress on this!

corviday commented 4 years ago

Unfortunately, I have not been able to figure out why, exactly, project() returns different values for some general oblique transformations run on Debian, as compared to other operating systems (CentOS, Windows, Ubuntu, MacOS, Fedora). Since proj4 isn't, strictly speaking, needed to run this package, I ultimately just rewrote the tests to skip calls to project() when run on a Linux system. I have resubmitted to CRAN.

thiagoveloso commented 4 years ago

On Linux, it can still be installed with R CMD INSTALL ncdf4.helpers_0.3-3.tar.gz (using the "latest" archived version available at https://cran.r-project.org/src/contrib/Archive/ncdf4.helpers/).

bouweandela commented 4 years ago

Thank you for putting in the effort to getting the package published on CRAN again!