-
Notifications
You must be signed in to change notification settings - Fork 20
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
qgis_extract_output_* functions #140
Conversation
Thanks a lot for your work @JanCaha; I'll come back to it soon! |
OK thanks, here are some remarks to help you further:
You may want to think about an integration like |
@JanCaha, you'll also need to fix Thanks for adding the tests! |
tests/testthat/test-qgis-result.R
Outdated
expect_true(all(file.exists(tmp_gpkg, tmp_gpkg2))) | ||
qgis_result_clean(result) | ||
expect_false(any(file.exists(tmp_gpkg, tmp_gpkg2))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These 3 lines are better dropped in each of these new tests, since qgis_result_clean()
was already tested in the first test.
Additionally @JanCaha – I forgot to think of it in my previous post above – some updates were made to Further, you'll also need to fix the conflicts with |
Merge branch 'master' into single_output # Conflicts: # NAMESPACE # R/qgis-result.R # man/is_qgis_result.Rd # tests/testthat/test-qgis-result.R
…t before extracting results
So I did the updates, that you suggested. Hopefully I got your ideas correctly ;-) The only thing that I did not not include is the complex variant Not sure if it is in sync with main right now...need to look at that later. |
Ok, so this version should be update to date with master and all fixed. |
Hi @JanCaha thanks a lot for your work; apologies for the delay. Indeed, the effect of arguments in the integrated approach can be tricky to understand, document and hence use. I agree this is a downside and I'm glad you further refined the alternative. I invited you as a collaborator to the GitHub repo so that you can push feature branches directly.
|
@florisvdh thanks. I am not able to change the source branch for the PR, so I am closing this one and creating a new one. I am also merging #150 to it. |
Continuation of #139 :)
@florisvdh Take a look and let me know if this goes in the direction that you had in mind. I am not quite sure that I got your notes from #133 correctly. So feel free to comment.