-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
dataset: Create Data Frames that are Easier to Exchange and Reuse #553
Comments
Thanks for submitting to rOpenSci, our editors and @ropensci-review-bot will reply soon. Type |
🚀 The following problem was found in your submission template:
👋 |
Hi, @antaldaniel, could you please fix the repo URL by providing a link to the package’s repository, please? 🙏 |
@adamhsparks Apologies for the original issue problem, I hope all is fine now. I added both the github repo and the package website url |
@antaldaniel Then you can start the checks yourself by calling |
@ropensci-review-bot check package |
Thanks, about to send the query. |
🚀 Editor check started 👋 |
Checks for dataset (v0.1.7)git hash: 2eb439b5
Important: All failing checks above must be addressed prior to proceeding Package License: GPL (>= 3) 1. Package DependenciesDetails of Package Dependency Usage (click to open)
The table below tallies all function calls to all packages ('ncalls'), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). 'NA' values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.
Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running 's <- pkgstats::pkgstats(<path/to/repo>)', and examining the 'external_calls' table. basenames (26), data.frame (14), class (12), paste (9), rep (7), sapply (7), unlist (6), which (6), attr (5), lapply (5), length (5), ncol (5), subset (4), as.character (3), attributes (3), c (3), logical (3), seq_along (3), vapply (3), as.data.frame (2), as.numeric (2), cbind (2), file (2), inherits (2), matrix (2), nrow (2), round (2), args (1), date (1), deparse (1), for (1), gsub (1), ifelse (1), is.null (1), paste0 (1), rbind (1), tolower (1), union (1), unique (1), url (1), UseMethod (1) datasetdimensions (6), attributes_measures (5), measures (5), all_unique (3), dataset_title (3), related_item (3), creator (2), datacite (2), dataset (2), dataset_source (2), description (2), geolocation (2), identifier (2), language (2), metadata_header (2), publication_year (2), publisher (2), related_item_identifier (2), resource_type (2), add_date (1), add_relitem (1), arg.names (1), attributes_names (1), bibentry_dataset (1), datacite_add (1), dataset_download (1), dataset_download_csv (1), dataset_export (1), dataset_export_csv (1), dataset_local_id (1), dataset_title_create (1), dataset_uri (1), dimensions_names (1), document_package_used (1), dot.names (1), dublincore (1), dublincore_add (1), extract_year (1), is.dataset (1), measures_names (1), print (1), print.dataset (1), resource_type_general (1), rights (1), subject (1), time_var_guess (1), version (1) statsdf (2), time (2) utilscitation (1), object.size (1), read.csv (1), sessionInfo (1) rlangget_expr (1) NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately. 2. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the The final measure (
2a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 3.
|
file | coverage |
---|---|
R/creator.R | 64.29% |
R/datacite_attributes.R | 0% |
R/datacite.R | 46.88% |
R/dataset_uri.R | 0% |
R/dataset.R | 48.36% |
R/document_package_used.R | 0% |
R/dublincore.R | 67.74% |
R/publication_year.R | 55.56% |
R/related_item.R | 66.67% |
Cyclocomplexity with cyclocomp
The following functions have cyclocomplexity >= 15:
function | cyclocomplexity |
---|---|
datacite_add | 24 |
dublincore_add | 23 |
Static code analyses with lintr
lintr found the following 383 potential issues:
message | number of times |
---|---|
Avoid 1:ncol(...) expressions, use seq_len. | 4 |
Avoid library() and require() calls in packages | 20 |
Avoid using sapply, consider vapply instead, that's type safe | 4 |
Lines should not be more than 80 characters. | 352 |
Use <-, not =, for assignment. | 3 |
4. Other Checks
Details of other checks (click to open)
✖️ The following 10 function names are duplicated in other packages:
-
dataset
from assemblerr, febr, robis
-
description
from dataMaid, dataPreparation, dataReporter, dcmodify, memisc, metaboData, PerseusR, ritis, rmutil, rsyncrosim, stream, synchronicity, timeSeries, tis, validate
-
dimensions
from gdalcubes, openeo, sp, tiledb
-
identifier
from Ramble
-
is.dataset
from crunch
-
language
from sylly, wakefield
-
measures
from greybox, mlr3measures, tsibble
-
size
from acrt, BaseSet, container, crmPack, CVXR, datastructures, deal, disto, easyVerification, EFA.MRFA, flifo, gdalcubes, gWidgets2, hrt, iemisc, InDisc, kernlab, matlab2r, multiverse, optimbase, PopED, pracma, ramify, rEMM, rmonad, simplegraph, siren, tcltk2, UComp, unival, vampyr
-
subject
from DGM, emayili, gmailr, sendgridr
-
version
from BiocManager, garma, geoknife, mice, R6DS, rerddap, rsyncrosim, shiny.info, SMFilter
Package Versions
package | version |
---|---|
pkgstats | 0.1.1.20 |
pkgcheck | 0.1.0.3 |
Editor-in-Chief Instructions:
Processing may not proceed until the items marked with ✖️ have been resolved.
Hi again, @antaldaniel. If you could please address the issues that the bot flagged with the ✖️, then I can proceed with your submission. |
Hi @adamhsparks I hope I managed to add these things, with the following exception. ✔️does not have a 'codemeta.json' file -> added with codematar. I tried to avoid duplications while keeping in mind rOpenSci duplication guildelines, and at this point, I do not see which are the dupblications and if there is any sensible way to resolve them. Your guidelines state "Avoid function name conflicts with base packages or other popular ones (e.g. ggplot2, dplyr, magrittr, data.table)" The package currently has no name conflict with any packages that I was thinking of to be used together, and I do not know how to test for this. (Apolgoies if this is somewhere in the 1.3 Package API) ✔️ Package has no continuous integration checks -> added I do not see a sensible way to achieve 75%+ codecov coverage with a metadata package that is in an early development page, still has development questions open (see Motivation: Make Tidy Datasets Easier to Release Exchange and Reuse, hence the submission here before the first CRAN release). For example, in the target category, other metadata management pacakges like codemetar has a 42% coverage, EML has 65%, both below the current coverage before the first release of dataset. |
@antaldaniel You may indeed ignore the "Function names are duplicated in other packages." That will soon be changed from a failing check (:heavy_multiplication_x:) to an advisory note only. Sorry for any confusion there. @adamhsparks will comment further on the code coverage. |
@mpadge I do not seem to find the output where this informaiton is coming from, but I think that it is nevertheless a very useful reminder, and it would be good to see what conflicts your bot has found. Again, apologies if I ask the obvious, but where can I check what duplicates were flagged by your bot? |
It's in the check results. Under "4. Other Checks", you'll see a "Details of other checks (click to open)". You can also generate those yourself by running: library(pkgcheck)
checks <- pkgcheck("/<path>/<to>/<dataset-pkg>")
checks_md <- checks_to_markdown(checks, render = TRUE) That will automatically open a HTML-rendered version of the checks, just like the above. You can use that repeatedly as you work through the issues highlighted above. |
@mpadge Oh, really, sorry for asking the obvious. I would like to comment here on the issue then in substance. The main development question of the package, which aims to make R objects standard datasets (as defined by W3C and SDMX), is to add structural and referential metadata, is if the best way to do this is to create an s3 object or not (see the dilemma here.) In the current stage, it is a pseudo object inherited from data.frame, but it can be seen also as a utility to any data.frame, tibble, and data.table (or similar tabular format) R objects. The functions, which have duplicates in other packages, are following a very simple naming convention. I think that these is the cleanest API interface that I can think of, for example, the subject() gets the metadata attribute All these functions are lowercase to manipulate a camelCase standard attribute. Except for the SDMX attribute 'attribute', which would create a conflict with the base R 'attributes()' function. |
Hi @antaldaniel, For instance, Lines 40-43 are covered but Lines 44-45 aren't. These are seemingly the same except for checking on 2 or 3 letter ISO codes, unless I'm mistaken. Or the message response within the Could I ask that you have another look and see if you can't further improve the coverage a bit more? |
Hi @adamhsparks I went up to 71.27%, but further changes are not very productive. I did not extensively cover two areas, one is the constructor for the dataset() itself, where I expect potentially breaking changes, and in the file I/O areas, where I think I would like to come up with a more general solution, and also avoid test being run on CRAN later. As the overwrite function and its messages make the most branches, this is a bit of a play with %, as the very same copied test is tested again and again. Do you have a good solution to include download and file I/O tests that run fast enough or cause no disruption when later run on CRAN? |
@adamhsparks I am much above your treshold, and apologies for the trivial error. I wanted to omit some issues in the dataset() construtor, but I did not realize that it had some old code that had been rewritten - the test were omitting them, of course, but they sat at the bottom of the file. It is now 81.2% covered, I know that it has to improve, but I'd prefer to do it when some issues are resolved in a clear direction (see my comment above.) |
Hi @antaldaniel, that's great to see. Thank you for rechecking everything and updating. If you have tests that you feel are unconducive for CRAN, I'd just use (and do liberally use) |
@ropensci-review-bot check package |
Thanks, about to send the query. |
🚀 Editor check started 👋 |
Checks for dataset (v0.1.7.0002)git hash: 93c03c54
Important: All failing checks above must be addressed prior to proceeding Package License: GPL (>= 3) 1. Package DependenciesDetails of Package Dependency Usage (click to open)
The table below tallies all function calls to all packages ('ncalls'), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). 'NA' values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.
Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running 's <- pkgstats::pkgstats(<path/to/repo>)', and examining the 'external_calls' table. basenames (21), class (12), data.frame (10), paste (9), vapply (9), rep (7), character (6), unlist (6), attr (5), lapply (5), length (5), ncol (5), subset (4), as.character (3), c (3), seq_along (3), as.data.frame (2), as.numeric (2), attributes (2), cbind (2), file (2), inherits (2), logical (2), matrix (2), nrow (2), round (2), which (2), date (1), for (1), ifelse (1), is.null (1), paste0 (1), rbind (1), seq_len (1), tolower (1), union (1), unique (1), url (1), UseMethod (1) datasetattributes_measures (5), dimensions (4), all_unique (3), dataset_title (3), measures (3), creator (2), datacite (2), dataset (2), dataset_source (2), description (2), geolocation (2), identifier (2), language (2), metadata_header (2), publication_year (2), publisher (2), related_item_identifier (2), resource_type (2), bibentry_dataset (1), datacite_add (1), dataset_download (1), dataset_download_csv (1), dataset_export (1), dataset_export_csv (1), dataset_local_id (1), dataset_title_create (1), dataset_uri (1), dublincore (1), dublincore_add (1), extract_year (1), is.dataset (1), print (1), print.dataset (1), related_item (1), resource_type_general (1), resource_type_general_allowed (1), rights (1), subject (1), time_var_guess (1), version (1) statsdf (2) utilsobject.size (1), read.csv (1) NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately. 2. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the The final measure (
2a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 3.
|
id | name | conclusion | sha | run_number | date |
---|---|---|---|---|---|
2891146042 | pkgcheck | failure | 93c03c | 17 | 2022-08-19 |
2891146050 | test-coverage | success | 93c03c | 20 | 2022-08-19 |
3b. goodpractice
results
R CMD check
with rcmdcheck
R CMD check generated the following check_fail:
- no_description_date
Test coverage with covr
Package coverage: 82.12
Cyclocomplexity with cyclocomp
The following functions have cyclocomplexity >= 15:
function | cyclocomplexity |
---|---|
datacite_add | 24 |
dublincore_add | 23 |
Static code analyses with lintr
lintr found the following 370 potential issues:
message | number of times |
---|---|
Avoid library() and require() calls in packages | 20 |
Lines should not be more than 80 characters. | 350 |
4. Other Checks
Details of other checks (click to open)
✖️ The following 10 function names are duplicated in other packages:
-
dataset
from assemblerr, febr, robis
-
description
from dataMaid, dataPreparation, dataReporter, dcmodify, memisc, metaboData, PerseusR, ritis, rmutil, rsyncrosim, stream, synchronicity, timeSeries, tis, validate
-
dimensions
from gdalcubes, openeo, sp, tiledb
-
identifier
from Ramble
-
is.dataset
from crunch
-
language
from sylly, wakefield
-
measures
from greybox, mlr3measures, tsibble
-
size
from acrt, BaseSet, container, crmPack, CVXR, datastructures, deal, disto, easyVerification, EFA.MRFA, flifo, gdalcubes, gWidgets2, hrt, iemisc, InDisc, kernlab, matlab2r, multiverse, optimbase, PopED, pracma, ramify, rEMM, rmonad, simplegraph, siren, tcltk2, UComp, unival, vampyr
-
subject
from DGM, emayili, gmailr, sendgridr
-
version
from BiocManager, garma, geoknife, mice, R6DS, rerddap, rsyncrosim, shiny.info, SMFilter
Package Versions
package | version |
---|---|
pkgstats | 0.1.1.20 |
pkgcheck | 0.1.0.3 |
Editor-in-Chief Instructions:
Processing may not proceed until the items marked with ✖️ have been resolved.
@ropensci-review-bot assign @melvidoni as editor |
Assigned! @melvidoni is now the editor |
@ropensci-review-bot check package |
Thanks, about to send the query. |
🚀 Editor check started 👋 |
Checks for dataset (v0.3.1)git hash: b1dca41e
Important: All failing checks above must be addressed prior to proceeding (Checks marked with 👀 may be optionally addressed.) Package License: GPL (>= 3) 1. Package DependenciesDetails of Package Dependency Usage (click to open)
The table below tallies all function calls to all packages ('ncalls'), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). 'NA' values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.
Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running 's <- pkgstats::pkgstats(<path/to/repo>)', and examining the 'external_calls' table. baseas.character (40), ifelse (40), is.null (38), list (30), c (16), data.frame (14), names (10), lapply (8), attr (7), paste0 (7), inherits (6), class (5), col (5), drop (4), invisible (4), seq_along (4), which (4), as.POSIXct (3), character (3), date (3), for (3), format (3), length (3), ncol (3), Sys.time (3), unlist (3), vapply (3), all (2), args (2), as.data.frame (2), as.numeric (2), dim (2), paste (2), rbind (2), round (2), substitute (2), t (2), url (2), with (2), apply (1), as.Date (1), cbind (1), comment (1), do.call (1), environment (1), get (1), if (1), max (1), nchar (1), new.env (1), range (1), rep (1), substr (1), switch (1), Sys.Date (1) datasetdataset_bibentry (28), dataset_title (10), dataset (8), rights (8), subject (8), creator (7), description (6), publisher (6), identifier (5), language (5), new_Subject (5), provenance (5), xsd_convert (5), DataStructure (4), convert_column (3), publication_year (3), as_bibentry (2), as_dublincore (2), dots_number (2), geolocation (2), get_type (2), getdata (2), idcol_find (2), is_person (2), is.dataset (2), provenance_add (2), related_item_identifier (2), size (2), subject_create (2), version (2), as_datacite (1), as_dataset (1), as_dataset.data.frame (1), datacite (1), dataset_download (1), dataset_download_csv (1), dataset_prov (1), dataset_title_create (1), dataset_to_triples (1), dataset_ttl_write (1), datasource_get (1), datasource_set (1), DataStructure_update (1), describe (1), describe.dataset (1), dublincore (1), get_prefix (1), get_resource_identifier (1), head.dataset (1), id_to_column (1), initialise_dsd (1), is.datacite (1), is.datacite.datacite (1), is.dublincore (1), is.dublincore.dublincore (1), is.subject (1), new_datacite (1), new_dataset (1), new_dublincore (1), old_function (1), print.dataset (1), related_item (1), set_var_labels (1), set_var_labels.dataset (1) assertthatassert_that (22) utilsbibentry (3), data (2), person (2), citation (1), object.size (1), read.csv (1), tail (1) statsdf (5), var (3), ar (1), family (1) graphicstitle (6) NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately. 2. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the The final measure (
2a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 3.
|
id | name | conclusion | sha | run_number | date |
---|---|---|---|---|---|
7677839674 | pkgcheck | failure | b1dca4 | 126 | 2024-01-27 |
7677839676 | R-CMD-check | failure | b1dca4 | 46 | 2024-01-27 |
7677839673 | test-coverage | failure | b1dca4 | 129 | 2024-01-27 |
3b. goodpractice
results
R CMD check
with rcmdcheck
R CMD check generated the following check_fail:
- no_description_date
Test coverage with covr
Package coverage: 78.97
Cyclocomplexity with cyclocomp
The following function have cyclocomplexity >= 15:
function | cyclocomplexity |
---|---|
[[.dataset | 17 |
Static code analyses with lintr
lintr found no issues with this package!
4. Other Checks
Details of other checks (click to open)
✖️ The following 12 function names are duplicated in other packages:
-
dataset
from assemblerr, febr, robis
-
describe
from AzureVision, Bolstad2, describer, dlookr, explore, Hmisc, iBreakDown, ingredients, lambda.r, MSbox, onewaytests, prettyR, psych, psych, psyntur, questionr, radiant.data, RCPA3, Rlab, scan, scorecard, sylly, tidycomm
-
description
from dataMaid, dataPreparation, dataReporter, dcmodify, memisc, metaboData, PerseusR, ritis, rmutil, rsyncrosim, stream, synchronicity, timeSeries, tis, validate
-
identifier
from Ramble
-
is.dataset
from crunch
-
language
from sylly, wakefield
-
provenance
from provenance
-
set_var_labels
from xpose
-
size
from acrt, BaseSet, container, crmPack, CVXR, datastructures, deal, disto, easyVerification, EFA.MRFA, flifo, gdalcubes, gWidgets2, hrt, iemisc, InDisc, kernlab, matlab2r, multiverse, optimbase, PopED, pracma, ramify, rEMM, rmonad, simplegraph, siren, tcltk2, UComp, unival, vampyr
-
subject
from DGM, emayili, gmailr, sendgridr
-
var_labels
from formatters, sjlabelled
-
version
from BiocManager, garma, geoknife, mice, R6DS, rerddap, rsyncrosim, shiny.info, SMFilter
Package Versions
package | version |
---|---|
pkgstats | 0.2.0 |
pkgcheck | 0.1.2.61 |
Editor-in-Chief Instructions:
Processing may not proceed until the items marked with ✖️ have been resolved.
Hi @antaldaniel, just checking in, the editor checks indicate a few minor issues that could be addressed fairly easily I think. Are you in a position to fix these issues so we can resume this review? |
Yes, I am. I just created in the last days a plan to improve this package, and add an inheritated package for a specific use, because I think that the mass use was missing that would have created interest and contributions to the package. I will make these small changes, but also include for review a new conceptual vignette to explain better the mission statement. |
Great, thank you for the update, @antaldaniel! |
I received a message the night before that I cannot find here from Emily. Anyhow:
In very short, dataset aims to provide tidier datasets that conform 3NF but their semantics is much richer: their variables can have strict definitions from global name spaces, units of measures, and they are labelled. The dataset as a whole has provenance information, and all Dublin Core - DataCite variables. What I tried to avoid is what dataspice does, to detach the metadata; these metadata are all stored as attributes in the R object. I also want a full interoperability with the rdflib package in rOpenSci, because my datasets can be serialised in a very rich way to RDF, and for example, can be sent via API calls to statistical data catalogues like the EU Open Data Portal. |
@adamhsparks @emilyriederer I think that the new version 0.3.3008 is ready for both conceptual and in-detail review. |
@ropensci-review-bot check package |
Thanks, about to send the query. |
🚀 Editor check started 👋 |
Checks for dataset (v0.3.3009)git hash: eb1b88a6
Important: All failing checks above must be addressed prior to proceeding (Checks marked with 👀 may be optionally addressed.) Package License: GPL (>= 3) 1. Package DependenciesDetails of Package Dependency Usage (click to open)
The table below tallies all function calls to all packages ('ncalls'), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). 'NA' values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.
Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running 's <- pkgstats::pkgstats(<path/to/repo>)', and examining the 'external_calls' table. baseas.character (50), ifelse (43), is.null (41), list (22), c (7), lapply (7), data.frame (6), substr (6), inherits (5), names (5), paste0 (5), Sys.time (5), seq_along (4), which (4), date (3), for (3), format (3), invisible (3), length (3), Sys.Date (3), t (3), all (2), attr (2), character (2), class (2), drop (2), labels (2), nrow (2), units (2), vapply (2), with (2), args (1), as.data.frame (1), as.Date (1), as.POSIXct (1), cbind (1), do.call (1), double (1), if (1), nchar (1), ncol (1), rbind (1), version (1) datasetget_bibentry (22), dataset_title (9), rights (7), description (5), identifier (5), language (5), publisher (5), subject (5), create_bibentry (4), creator (4), get_type (4), new_Subject (4), convert_column (3), provenance (3), publication_year (3), var_definition (3), var_namespace (3), var_unit (3), as_dataset_df (2), as_dublincore (2), dataset_df (2), default_provenance (2), definition_attribute (2), geolocation (2), get_orcid (2), idcol_find (2), is_person (2), is.dataset_df (2), n_triple (2), n_triples (2), namespace_attribute (2), remove_null_elements (2), subject_create (2), unit_attribute (2), as_character (1), as_character.haven_labelled_defined (1), as_datacite (1), as_numeric (1), as_numeric.haven_labelled_defined (1), as.character.haven_labelled_defined (1), create_iri (1), datacite (1), dataset_to_triples (1), defined (1), dublincore (1), get_definition_attribute (1), get_namespace_attribute (1), get_unit_attribute (1), id_to_column (1), is_dataset_df (1), is.datacite (1), is.datacite.datacite (1), is.defined (1), is.dublincore (1), is.dublincore.dublincore (1), is.subject (1), label_attribute (1), names.dataset_df (1), new_datacite (1), new_datetime_defined (1), new_dublincore (1), new_labelled_defined (1), new_my_tibble (1), print.dataset_df (1), prov_author (1), set_bibentry (1), set_definition_attribute (1), set_namespace_attribute (1), set_unit_attribute (1), set_var_labels (1), summary.dataset_df (1), summary.haven_labelled_defined (1), tbl_sum.dataset_df (1), var_definition.default (1), var_label.dataset_df (1), var_label.defined (1), var_namespace.default (1), var_unit.default (1), vec_cast_named (1) assertthatassert_that (15) utilsperson (4), bibentry (3), citation (1) labelledvar_label (4), to_labelled (1) rlangcaller_env (1), env_is_user_facing (1) clicat_line (1) havenlabelled (1) statsdf (1) tibblenew_tibble (1) NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately. 2. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the The final measure (
2a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 3.
|
function | cyclocomplexity |
---|---|
new_datetime_defined | 21 |
new_labelled_defined | 21 |
Static code analyses with lintr
lintr found no issues with this package!
4. Other Checks
Details of other checks (click to open)
✖️ The following 8 function names are duplicated in other packages:
-
as_character
from metan, radiant.data, retroharmonize, sjlabelled
-
as_numeric
from descstat, metan, qdapRegex, radiant.data, retroharmonize, sjlabelled, zenplots
-
description
from dataMaid, dataPreparation, dataReporter, dcmodify, memisc, metaboData, PerseusR, ritis, rmutil, rsyncrosim, stream, synchronicity, timeSeries, tis, validate
-
get_bibentry
from eurostat
-
identifier
from Ramble
-
language
from sylly, wakefield
-
provenance
from provenance
-
subject
from DGM, emayili, gmailr, sendgridr
Package Versions
package | version |
---|---|
pkgstats | 0.2.0.48 |
pkgcheck | 0.1.2.77 |
Editor-in-Chief Instructions:
Processing may not proceed until the items marked with ✖️ have been resolved.
Hi @antaldaniel - just to double check, is the right URL https://github.com/antaldaniel/dataset or https://github.com/antaldaniel/dataset now? What will the final home of the main branch of the package be? Lets make sure the top entry is pointing to the right URL. If https://github.com/antaldaniel/dataset is the final home, can you please set up CI there also? |
Apologies @emilyriederer , I brought it back to the original repository, so it is https://github.com/dataobservatory-eu/dataset/. It has the new rhubv2 on it, so it does have CI, but it appears to me that sometimes I get a false negative as if there was not (I get it on the CI!) |
@ropensci-review-bot check package |
Thanks, about to send the query. |
🚀 Editor check started 👋 |
Checks for dataset (v0.3.3009)git hash: eb1b88a6
Important: All failing checks above must be addressed prior to proceeding (Checks marked with 👀 may be optionally addressed.) Package License: GPL (>= 3) 1. Package DependenciesDetails of Package Dependency Usage (click to open)
The table below tallies all function calls to all packages ('ncalls'), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). 'NA' values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.
Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running 's <- pkgstats::pkgstats(<path/to/repo>)', and examining the 'external_calls' table. baseas.character (50), ifelse (43), is.null (41), list (22), c (7), lapply (7), data.frame (6), substr (6), inherits (5), names (5), paste0 (5), Sys.time (5), seq_along (4), which (4), date (3), for (3), format (3), invisible (3), length (3), Sys.Date (3), t (3), all (2), attr (2), character (2), class (2), drop (2), labels (2), nrow (2), units (2), vapply (2), with (2), args (1), as.data.frame (1), as.Date (1), as.POSIXct (1), cbind (1), do.call (1), double (1), if (1), nchar (1), ncol (1), rbind (1), version (1) datasetget_bibentry (22), dataset_title (9), rights (7), description (5), identifier (5), language (5), publisher (5), subject (5), create_bibentry (4), creator (4), get_type (4), new_Subject (4), convert_column (3), provenance (3), publication_year (3), var_definition (3), var_namespace (3), var_unit (3), as_dataset_df (2), as_dublincore (2), dataset_df (2), default_provenance (2), definition_attribute (2), geolocation (2), get_orcid (2), idcol_find (2), is_person (2), is.dataset_df (2), n_triple (2), n_triples (2), namespace_attribute (2), remove_null_elements (2), subject_create (2), unit_attribute (2), as_character (1), as_character.haven_labelled_defined (1), as_datacite (1), as_numeric (1), as_numeric.haven_labelled_defined (1), as.character.haven_labelled_defined (1), create_iri (1), datacite (1), dataset_to_triples (1), defined (1), dublincore (1), get_definition_attribute (1), get_namespace_attribute (1), get_unit_attribute (1), id_to_column (1), is_dataset_df (1), is.datacite (1), is.datacite.datacite (1), is.defined (1), is.dublincore (1), is.dublincore.dublincore (1), is.subject (1), label_attribute (1), names.dataset_df (1), new_datacite (1), new_datetime_defined (1), new_dublincore (1), new_labelled_defined (1), new_my_tibble (1), print.dataset_df (1), prov_author (1), set_bibentry (1), set_definition_attribute (1), set_namespace_attribute (1), set_unit_attribute (1), set_var_labels (1), summary.dataset_df (1), summary.haven_labelled_defined (1), tbl_sum.dataset_df (1), var_definition.default (1), var_label.dataset_df (1), var_label.defined (1), var_namespace.default (1), var_unit.default (1), vec_cast_named (1) assertthatassert_that (15) utilsperson (4), bibentry (3), citation (1) labelledvar_label (4), to_labelled (1) rlangcaller_env (1), env_is_user_facing (1) clicat_line (1) havenlabelled (1) statsdf (1) tibblenew_tibble (1) NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately. 2. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the The final measure (
2a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 3.
|
function | cyclocomplexity |
---|---|
new_datetime_defined | 21 |
new_labelled_defined | 21 |
Static code analyses with lintr
lintr found no issues with this package!
4. Other Checks
Details of other checks (click to open)
✖️ The following 8 function names are duplicated in other packages:
-
as_character
from metan, radiant.data, retroharmonize, sjlabelled
-
as_numeric
from descstat, metan, qdapRegex, radiant.data, retroharmonize, sjlabelled, zenplots
-
description
from dataMaid, dataPreparation, dataReporter, dcmodify, memisc, metaboData, PerseusR, ritis, rmutil, rsyncrosim, stream, synchronicity, timeSeries, tis, validate
-
get_bibentry
from eurostat
-
identifier
from Ramble
-
language
from sylly, wakefield
-
provenance
from provenance
-
subject
from DGM, emayili, gmailr, sendgridr
Package Versions
package | version |
---|---|
pkgstats | 0.2.0.48 |
pkgcheck | 0.1.2.77 |
Editor-in-Chief Instructions:
Processing may not proceed until the items marked with ✖️ have been resolved.
Hey @mpadge - any intuition for why the review bot isn't picking up on CI in this case? (Repo uses GitHub Actions) I can try to dig into the bot code if it's a mystery but wanting to check if it's a known issue. Obviously I can see the CI checks so it's not a blocker for this review; just a curious phenomenon generally |
I manage several packages on CRAN and the new rhubv2 infrastructure was also a big challenge for me, I think it is a genuinly new CI infrastructure, so maybe it is not caught by your earlier workflow analysis. However, I think it is also very-very good so perhaps it would make sense for R packages to only rely on that. It is very well functioning, and provides tests on up to 30 scenarios with varous combinations of old, new, devel versions of both R and the various Windows, Mac, Linux distributions. |
Thanks for the context, @antaldaniel ! I'll escalate this if rhubv2 is the issue. On a prelimary look at the pkgcheck repo, however, I don't believe that's the case. In the meantime, under the
|
@antaldaniel - could you please also try adding a CI badge to your README? This may be the problem. If Rhubv2 does not provide one, there are instructions to make your own here |
@emilyriederer I hopefully made a well-functioning badge (it appears to be working to me), and I also ran goodpractice() locally, should have done that before, and made some minor cosmetic documentation changes that were not flagged by the rhub checks (some functions and methods did not have return values, now hopefully all of them have.) This is now the 0.3.4 version. Regarding the issues flagged by the goodpractice are in fact seem to be devtools::document() issues that I reported. The tsibble example is no longer an issue. I ran goodpractice locally, and there are a few instances of bad practice; some are related to long lines in the documentation, which I will try to resolve after the review when possible (sometimes long URLs cause the problem and there is nothing to do about it.) And there a few instances when accidentally = is used instead of the <- assignment, I fixed these. |
@ropensci-review-bot check package |
Thanks, about to send the query. |
🚀 Editor check started 👋 |
Checks for dataset (v0.3.4)git hash: 1040dd8f
(Checks marked with 👀 may be optionally addressed.) Package License: GPL (>= 3) 1. Package DependenciesDetails of Package Dependency Usage (click to open)
The table below tallies all function calls to all packages ('ncalls'), both internal (r-base + recommended, along with the package itself), and external (imported and suggested packages). 'NA' values indicate packages to which no identified calls to R functions could be found. Note that these results are generated by an automated code-tagging system which may not be entirely accurate.
Click below for tallies of functions used in each package. Locations of each call within this package may be generated locally by running 's <- pkgstats::pkgstats(<path/to/repo>)', and examining the 'external_calls' table. baseas.character (38), ifelse (32), is.null (30), list (16), c (7), lapply (7), data.frame (6), inherits (5), names (5), Sys.time (5), seq_along (4), substr (4), which (4), date (3), invisible (3), paste0 (3), t (3), with (3), all (2), attr (2), character (2), class (2), drop (2), for (2), format (2), labels (2), length (2), nrow (2), vapply (2), args (1), as.data.frame (1), as.Date (1), as.POSIXct (1), cbind (1), do.call (1), double (1), if (1), nchar (1), ncol (1), rbind (1), Sys.Date (1) datasetget_bibentry (24), dataset_title (9), subject (8), rights (6), new_Subject (5), creator (4), dataset_df (4), description (4), get_type (4), identifier (4), language (4), publisher (4), convert_column (3), provenance (3), publication_year (3), var_definition (3), var_namespace (3), var_unit (3), as_dataset_df (2), as_dublincore (2), default_provenance (2), definition_attribute (2), geolocation (2), get_orcid (2), idcol_find (2), is_person (2), is.dataset_df (2), n_triple (2), n_triples (2), namespace_attribute (2), new_my_tibble (2), unit_attribute (2), as_character (1), as_character.haven_labelled_defined (1), as_datacite (1), as_numeric (1), as_numeric.haven_labelled_defined (1), as.character.haven_labelled_defined (1), create_iri (1), datacite (1), dataset_to_triples (1), defined (1), dublincore (1), get_definition_attribute (1), get_namespace_attribute (1), get_unit_attribute (1), id_to_column (1), is_dataset_df (1), is.datacite (1), is.datacite.datacite (1), is.defined (1), is.dublincore (1), is.dublincore.dublincore (1), is.subject (1), label_attribute (1), names.dataset_df (1), new_datacite (1), new_datetime_defined (1), new_dublincore (1), new_labelled_defined (1), print.dataset_df (1), prov_author (1), set_definition_attribute (1), set_namespace_attribute (1), set_unit_attribute (1), set_var_labels (1), subject_create (1), summary.dataset_df (1), summary.haven_labelled_defined (1), tbl_sum.dataset_df (1), var_definition.default (1), var_label.dataset_df (1), var_label.defined (1), var_namespace.default (1), var_unit.default (1) assertthatassert_that (18) graphicstitle (9) utilsperson (4), bibentry (2), citation (1) labelledvar_label (4), to_labelled (1) rlangcaller_env (1), env_is_user_facing (1) clicat_line (1) havenlabelled (1) statsdf (1) tibblenew_tibble (1) NOTE: Some imported packages appear to have no associated function calls; please ensure with author that these 'Imports' are listed appropriately. 2. Statistical PropertiesThis package features some noteworthy statistical properties which may need to be clarified by a handling editor prior to progressing. Details of statistical properties (click to open)
The package has:
Statistical properties of package structure as distributional percentiles in relation to all current CRAN packages
All parameters are explained as tooltips in the locally-rendered HTML version of this report generated by the The final measure (
2a. Network visualisationClick to see the interactive network visualisation of calls between objects in package 3.
|
function | cyclocomplexity |
---|---|
new_datetime_defined | 21 |
new_labelled_defined | 21 |
Static code analyses with lintr
lintr found no issues with this package!
4. Other Checks
Details of other checks (click to open)
✖️ The following 9 function names are duplicated in other packages:
-
as_character
from metan, radiant.data, retroharmonize, sjlabelled
-
as_numeric
from descstat, metan, qdapRegex, radiant.data, retroharmonize, sjlabelled, zenplots
-
description
from dataMaid, dataPreparation, dataReporter, dcmodify, memisc, metaboData, PerseusR, ritis, rmutil, rsyncrosim, stream, synchronicity, timeSeries, tis, validate
-
get_bibentry
from eurostat
-
identifier
from Ramble
-
is.defined
from nonmemica
-
language
from sylly, wakefield
-
provenance
from provenance
-
subject
from DGM, emayili, gmailr, sendgridr
Package Versions
package | version |
---|---|
pkgstats | 0.2.0.48 |
pkgcheck | 0.1.2.77 |
Editor-in-Chief Instructions:
This package is in top shape and may be passed on to a handling editor
Thanks @antaldaniel ! That seems to have fixed the CI issue. I think we are in good shape to look for an editor. This may be slow these next few weeks (e.g. rOpenSci is actually closed to new submissions through year end) but we will be in touch soon. |
@emilyriederer Thank you very much. In the meantime, the package got back to CRAN, so I think it technically works. In my opinion, the real conceptual issue would be how this package could be well integrated with some other rOpenSci packages, mainly rdflib (they could form a super powerful usecase together, i.e., to export in a semantically rich way any R dataset to RDF, making them truly interoperable), and perhaps with dataspice, as I think that this package will solve in a much more general and broader sense what that pacakge is aiming for. I am looking forward to hear from you and I wish a very nice festive season to you and all rOpenSci reviewers |
Submitting Author Name: Daniel Antal
Due date for @msperlin: 2022-09-19Submitting Author Github Handle: @antaldaniel
Repository: https://github.com/dataobservatory-eu/dataset/
Version submitted: 0.1.7
Submission type: Standard
Editor: @annakrystalli
Reviewers: @msperlin, @romanflury
Due date for @romanflury: 2022-09-21
Archive: TBD
Version accepted: TBD
Language: en
You can find the package website on dataset.dataobservatory.eu. The article Motivation: Make Tidy Datasets Easier to Release Exchange and Reuse will eventually be condensed into a JOSS paper. It has a major development dilemma.
Scope
Please indicate which category or categories from our package fit policies this package falls under: (Please check an appropriate box below. If you are unsure, we suggest you make a pre-submission inquiry.):
Explain how and why the package falls under these categories (briefly, 1-2 sentences):
Open science repositories and analyst comupters are full with datasets that have no provenance, structural or referential data. We believe that whenever possible, metadata should be machine-recorded when possible, and should not be detached from an R object.
There are several R packages that have overalapping goals or functionality to
dataset
, but they use a different philosophy. When exporting to different files, they should be written as exported, but no sooner, and preferably into the file that contains the data.Who is the target audience and what are scientific applications of this package?
This package is intended to give a common foundation to the rOpenGov reproducible research packages. It mainly serves communities that want to reuse statistical data (using the SDMX statistical (meta)data exchange sources, like Eurostat, IMF, World Bank, OECD...) or release new datasets from primary social sciences data that can be integrated into an SDMX compatible API or placed on a knowledge graph. Our main aim is to provide a clear publication workflow to the European open science repository Zenodo, and clear serialization strategies to RDF application.
The dataspice package aims to create well-defined and referenced datasets, but follows a different schema and a different publication strategy. The dataset package follows the more restrictive W3C/SDMX "DataSet" definition within the datacube model, which is better suited to synchronize with statistical data sources. Unlike dataset, it uses a manual metadata entry from CSV files. (See the documentation of the dataspice package.)
The
dataset
package aims for a higher level of reproducibality, and does not detach the metadata from the R object's attributes (it is aimed to be used in other reproducible research pacakges that will directly record provenance and other transactional metadata into the attributes.) We aim to bind togetherdataspice
anddataset
by creating export functions to csv files that contain the same metadata that dataspice records. Generally, dataspice seems to be better suited to raw, observational data, while dataset for statistically processed data.The intended use of
dataset
is to start correctly record referential, structural and provenance metadata retrieved by various reproducible science packages that interact with statistical data (such as the rOpenGov packages eurostat and iotables, or the oecd package.Neither
dataset
ordataspice
are very suitable of or documenting social sciences survey data, which are usually held in datasets. Our aim is to connectdataset
, declared and DDIwR to create such datasets with DDI codebook metadata. They will create a stable new foundation of the retroharmonize package to create new, well-documented and harmonized statistical datasets from the observational datasets of social sciences surveys.The zen4R package provides reproducible export functionality to the zenodo open science repository. Interacting with
zen4R
may be intimidating for the casual R user as it uses R6 classes. Our aim to provide an export function that completely wraps the workings ofzen4R
when releasing the dataset.In our experience, while the tidy data standards make reuse more efficient by eliminating unnecessary data processing steps before analysis or placement in a relational database, the application of DataSet definition and the datacube model with the information science metadata standards make reuse more efficient with exchanging and combining the data with other data in different datasets.
Yes
If you made a pre-submission inquiry, please paste the link to the corresponding issue, forum post, or other discussion, or @tag the editor you contacted.
Explain reasons for any
pkgcheck
items which your package is unable to pass.Technical checks
Confirm each of the following by checking the box.
This package:
Publication options
[x ] Do you intend for this package to go on CRAN? -> Yes, I started the CRAN publication process, but opted to stop and get feedback from rOpenSic first
Do you intend for this package to go on Bioconductor? -> Don't know.
Do you wish to submit an Applications Article about your package to Methods in Ecology and Evolution? If so:
MEE Options
Code of conduct
The text was updated successfully, but these errors were encountered: