-
Notifications
You must be signed in to change notification settings - Fork 17
rgdal dependency breaks automatic tests #38
Comments
Hello, If you want to use sf rather than rgdal, then attached is a version of Convert_LL_to_EastNorth_Fn that might work. I have tested it outside of the package only so might need to be tested inside the package. Sophie |
Thanks Sophie. I doubt I will have time to explore switching the package for a while, but its good to know what the main alternative would be. Ian -- if I moved |
I'm not sure if moving |
Hi @James-Thorson it looks like the attachment from @smormede above (in #38 (comment)) could simply replace the existing If nobody is able to do that testing, why not leave the issue open until it gets done? Otherwise what's the point of having automated tests on Travis-CI for this package or VAST? |
Hello. Yes it would just need to swap over the existing function, and I'm happy to test the new function works as expected. I assume @taylori you can test the linux part. Sophie |
Thanks @smormede.
I'll now create a pull request which should cause Travis-CI to automatically show whether the change fixes the dependency problem that was the source of this issue (it should appear in https://travis-ci.org/nwfsc-assess/geostatistical_delta-GLMM/pull_requests and on the pull request itself). If you give the word, then it seems there shouldn't be any issue with @James-Thorson accepting the pull request and closing this issue for good. |
@taylori checks done on Convert_LL_to_EastNorth_Fn via SpatialDeltaGLMM::Prepare_Extrapolation_Data_Fn where Region = "New_Zealand" (which is the only place it gets called I believe). Runs and gives identical results to the previous version. Checked I had the right version of the function. Thanks. Good luck sorting the other issues. Sophie |
I finally figured out how to get the dependencies working in the automated testing on Travis-CI by making further changes in .travis.yml in commit f988eb6. However, now that the tests are working, there is an error being reported when running the Chatham Rise test in tests/testthat/test-ChathamRiseHake.R, which seems to be related to the change from @smormede do you have time to try to see if you can get the Chatham Rise example to work with the Error messages below are from the Travis-CI build of my fork: https://travis-ci.org/taylori/geostatistical_delta-GLMM/builds/359636595
|
Sorry about the delay @taylori . I think SpatialDeltaGLMM::Prepare_NZ_Extrapolation_Data_Fn needs to have zone = 60 as default which should fix the problem. Thanks. |
Automated testing of
SpatialDeltaGLMM
and[VAST](https://github.com/James-Thorson/VAST)
via Travis-CI fail due to error with installation ofrgdal
. It sounds like the errors are specific to Linux installations, sotestthat
should still work for any user running it manually on a Windows or Mac computer.Suggestions at travis-ci/travis-ci#5852 are either
.travis.yml
, to get libraries required by this package for linuxrgdal
tosf
(on github at https://github.com/r-spatial/sf)I don't know enough about the use of
rgdal
(used only by Convert_LL_to_EastNorth_Fn) to know how to judge among these options or make the switch. Perhaps @smormede can help.The text was updated successfully, but these errors were encountered: