-
Notifications
You must be signed in to change notification settings - Fork 46
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
Package grooming and performance improvements #230
Comments
Regarding documentation:
Regarding package dependencies and tests:
I think we could start a project board aiming for eurostat 4.0.0 release. The specifics on what that release would contain could be discussed under the project page. |
I like the idea of the project board 😄 It can start with the Documentation part, and regarding the packages I have testes:
Most of this packages are not even used on the vignettes, but on the articles. We can install that in the GitHub Action, as the articles are not part of the package. Regarding Cairo, this is a bit tricky. I think it is used for plots. Now the default (at least on pkgdown) is ragg, that provides high-quality plots. This one makes me doubt a bit, but It could be removed amending also the vignette. |
I agree with all, I very much like to idea of moving to md docs. The suggested ways to remove dependencies seem good as well as work towards version 4.0.0 (what does R Extension say about version numbers, should this be 4.1.1 instead?) One way to reduce dependencies is to move all spatial visualization stuff elsewhere, this has been under discussion for a longer time. It also seems that there is now an emerging ecosystem of packages around eurostat, including also those from @antaldaniel - we could think if it would make sense to create an more comprehensive online resource on using and enrichning eurostat (and related?) data sources based on this set of interoperable packages. But this latter one would require a bit more planning and time. |
Good ideas. I think there are also performance issues in the |
Hi @antagomir
On https://r-pkgs.org/description.html#version SemVer and X.Org are referred. On SemVer:
Common practice when these changes are applied are just to increase major with trailing 0. |
@dieghernan I think this issue is again timely and closely related to #263 since several geospatial packages are going to be removed from CRAN or changed. I think now the time would be ripe to "move" |
I can prepare a PR switching to giscoR and including it on the Suggest field. I think it should be pretty straightforward since the parameters of And if so, over which branch? I see some development coming recently on v4-dev |
I think v4-dev (or, if you like, another branch that would be ultimately merged into v4) would be good. These changes fall easily under the MAJOR changes label so it's justifiable to put it there instead of in a minor release. I'm not certain what the schedule for the release of v4.0 should be, or how long we have to go through the open issues and solve them. Before October 2023 anyway, because of this geospatial package schedule and #243, which also happens to have its deadline in October. |
Update
Hi @antagomir @pitkant:
Now that the package moved to a new version, let me share with you some potential improvements I would like to suggest:
Documentation
\code{}, \link{}
, etc. I would like to propose moving to markdown (see https://roxygen2.r-lib.org/articles/rd-formatting.html#turning-on-markdown-support-1). It is also quite easy to convert the current docs to markdown with {roxygen2md} package.styler
package, adopted by the Tidyverse.usethis
package.@family
tag (https://roxygen2.r-lib.org/articles/rd.html#cross-references) is quite useful for cross-referencing families of functions. It also can be used for presenting a more clear index on the pkgdown page. Forexample, {giscoR} is structured on categories:Dependencies and tests
This is a sensitive issue. Currently the package has 19 Imports and 13 Suggests. Also, the package has more than 100 tests for
get_eurostat_geospatial()
and still the coverage is below 55%.These two issues cause that the package is heavy when installing on a fresh system and also really slow to tests.
I think it is possible to reduce dependencies to 17+5 (get rid of 10 packages) with almost no costs. On the test side, more work is needed, but probably there are room for improvement.
As a suggestion, {giscoR} could help with the spatial part but {sf} would be still needed.
I see the Documentation part quite easy (I can even set an action for performing these tasks). Also I can work on reducing dependencies.
Let mw know your thoughs, regards
The text was updated successfully, but these errors were encountered: