ropensci / software-review

rOpenSci Software Peer Review.
291 stars 104 forks source link

mregions2: Access Data from Marineregions.org: The Marine Regions Gazetteer and the Marine Regions Data Products #590

Closed salvafern closed 3 months ago

salvafern commented 1 year ago

Date accepted: 2024-06-09

Submitting Author Name: Salvador Fernández Bejarano Submitting Author Github Handle: !--author1-->@salvafern<!--end-author1-- Other Package Authors Github handles: (comma separated, delete if none) !--author-others-->@lottepohl<!--end-author-others-- Repository: https://github.com/lifewatch/mregions2 Version submitted: Submission type: Standard Editor: !--editor-->@jooolia<!--end-editor-- Reviewers: @Kattuvan, @sheilasaia

Due date for @Kattuvan: 2023-06-20 Due date for @sheilasaia: 2023-06-21

Archive: TBD Version accepted: TBD Language: en


Package: mregions2
Type: Package
Title: Access Data from Marineregions.org: The Marine Regions Gazetteer and the Marine Regions Data Products
Version: 1.0.0
Authors@R: c(
  person(given = "Salvador", family = "Fernandez-Bejarano", role = c("aut", "cre"),
         email = "salvador.fernandez@vliz.be",
         comment = c(ORCID = "0000-0003-0535-7677", github = "salvafern")),
  person(given = "Lotte",family = "Pohl", role = "aut",
         email = "lotte.pohl@imbrsea.eu",
         comment = c(ORCID = "0000-0002-7607-7018", github = "whaleshark99")),
  person("LifeWatch Belgium", role = "fnd", comment = "https://lifewatch.be")
  )
Maintainer: Salvador Fernandez-Bejarano <salvador.fernandez@vliz.be>
Description: Explore and retrieve marine geo-spatial data from the Marine Regions Gazetteer and the Marine Regions Data Products, including the Maritime Boundaries.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
Config/testthat/edition: 3
Imports: 
    checkmate,
    glue,
    httr2,
    magrittr,
    sf,
    utils,
    rdflib,
    ISOcodes,
    memoise,
    cli,
    dplyr,
    xml2,
    wrapr,
    methods,
    curl,
    digest
RoxygenNote: 7.2.0
URL: https://github.com/lifewatch/mregions2,
    https://lifewatch.github.io/mregions2/
BugReports: https://github.com/lifewatch/mregions2/issues
Suggests: 
    ows4R (>= 0.3),
    httptest2,
    jsonlite,
    knitr,
    leaflet,
    leaflet.extras2,
    mapview,
    mregions,
    rmarkdown,
    testthat,
    wk,
    purrr,
    withr
VignetteBuilder: knitr
Roxygen: list(markdown = TRUE)
Depends: 
    R (>= 2.10)

Scope

This package reads the Marine Regions Gazetteer and the Marine Regions Data Products via a REST API and OGC web services respectively. The data is mostly geospatial as it contains locations of marine places in the world.

The main purpose of Marine Regions is to serve as the geographical backbone of biodiversity databases such as WoRMS or EurOBIS, hence the main user will be scientists that want to geo-reference their research. But it can also be useful for industry, policy and law makers.

There is already a package to read Marine Regions. The need for this second package is explained in one of the package's articles: Why mregions2? . It was also discussed beforehand that a new package was the best approach: https://github.com/ropensci/mregions/pull/62 (Mostly to not break compatibility)

In general I think this does not apply. The only data being collected from users is the user-agent in all HTTP requests. This gets the environment variable HTTPUserAgent via getOption() in mr_user_agent

On the other hand, Marine Regions has sensitive data products such as the maritime boundaries. It is stated clearly on our disclaimer that the data has no legal value whatsoever.

Technical checks

Confirm each of the following by checking the box.

This package:

Publication options

MEE Options - [ ] The package is novel and will be of interest to the broad readership of the journal. - [ ] The manuscript describing the package is no longer than 3000 words. - [ ] You intend to archive the code for the package in a long-term repository which meets the requirements of the journal (see [MEE's Policy on Publishing Code](http://besjournals.onlinelibrary.wiley.com/hub/journal/10.1111/(ISSN)2041-210X/journal-resources/policy-on-publishing-code.html)) - (*Scope: Do consider MEE's [Aims and Scope](http://besjournals.onlinelibrary.wiley.com/hub/journal/10.1111/(ISSN)2041-210X/aims-and-scope/read-full-aims-and-scope.html) for your manuscript. We make no guarantee that your manuscript will be within MEE scope.*) - (*Although not required, we strongly recommend having a full manuscript prepared when you submit here.*) - (*Please do not submit your package separately to Methods in Ecology and Evolution*)

Code of conduct

salvafern commented 5 months ago

Hi @jooolia, apologies for the delay. The logs are fresh now: https://github.com/lifewatch/mregions2/actions/runs/8615096758/job/23609894330

I think the same issue continues: See https://github.com/lifewatch/mregions2/issues/21 and https://github.com/ropensci/rdflib/issues/47

Any ideas are highly appreciated!

jooolia commented 5 months ago

Thanks @salvafern for the reruns. I will have a look and get back to you (and it seems that rdflib has commented out the ubuntu tests for now). thanks, Julia

jooolia commented 5 months ago

Hi @salvafern , I have forked mregions2 and will look into the github actions tomorrow. thanks for your patience.

salvafern commented 4 months ago

That's great, thank you!

jooolia commented 4 months ago

Hi @salvafern, I have gotten R-CMD-check to run without errors, although it is a bit of a workaround at the moment. I will look into the yaml files tonight and update you then (or if all goes well submit a pull request) with what has worked and what we could imagine doing. Cheers, Julia

jooolia commented 4 months ago

Hi @salvafern I have opened a PR in the repo to your dev branch. Let me know what you think. I had to remove pkgcheck, but all three others I was able to get to work and pass. Cheers, Julia

salvafern commented 4 months ago

Hi @jooolia , I have merge your PR to the main branch. Seems to work fine now. Thanks a lot! Let me know what are the next steps.

jooolia commented 3 months ago

@ropensci-review-bot approve mregions2

ropensci-review-bot commented 3 months ago

Approved! Thanks @salvafern for submitting and @Kattuvan, @sheilasaia for your reviews! :grin:

To-dos:

Should you want to acknowledge your reviewers in your package DESCRIPTION, you can do so by making them "rev"-type contributors in the Authors@R field (with their consent).

Welcome aboard! We'd love to host a post about your package - either a short introduction to it with an example for a technical audience or a longer post with some narrative about its development or something you learned, and an example of its use for a broader readership. If you are interested, consult the blog guide, and tag @ropensci/blog-editors in your reply. They will get in touch about timing and can answer any questions.

We maintain an online book with our best practice and tips, this chapter starts the 3d section that's about guidance for after onboarding (with advice on releases, package marketing, GitHub grooming); the guide also feature CRAN gotchas. Please tell us what could be improved.

Last but not least, you can volunteer as a reviewer via filling a short form.

salvafern commented 3 months ago

@ropensci-review-bot invite me to ropensci/mregions2

ropensci-review-bot commented 3 months ago

Invitation sent!

salvafern commented 3 months ago

@ropensci-review-bot finalize transfer of mregions2

ropensci-review-bot commented 3 months ago

Transfer completed. The mregions2 team is now owner of the repository and the author has been invited to the team