Submitting Author Name: Hugo Gruson
Submitting Author Github Handle: @Bisaloo
Repository: https://github.com/Bisaloo/grumpy
Version submitted: 0.1.1.9000
Submission type: Standard
Editor: @njtierney
Reviewers: TBD
Archive: TBD
Version accepted: TBD
Language: en
- Paste the full DESCRIPTION file inside a code block below:
Package: grumpy
Title: Read 'NumPy' '.npy' and '.npz' Files
Version: 0.1.1.9000
Authors@R: c(
person("Hugo", "Gruson", , "hugo.gruson+R@normalesup.org", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0002-4094-1476")),
person("Mike", "Smith", role = c("aut", "cph"),
comment = c("Original author of portions of the C code migrated from the Rarr package")),
person("German Network for Bioinformatics Infrastructure - de.NBI", role = "fnd")
)
Description: Lightweight way to read 'NumPy' '.npy' and '.npz' files in R. All data types supported
by 'NumPy', with all sizes (converted internally to R native size), both C and 'Fortran' order,
and any shape, up to an arbitrary number of dimensions, are supported.
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
Suggests:
quarto,
testthat (>= 3.0.0)
VignetteBuilder: quarto
Config/testthat/edition: 3
URL: https://hugogruson.fr/grumpy/, https://github.com/Bisaloo/grumpy
BugReports: https://github.com/Bisaloo/grumpy/issues
Imports:
jsonlite
Config/roxygen2/version: 8.0.0
Depends:
R (>= 4.2.0)
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):
This package allows reading data produced by numpy, or the numerous python libraries depending on numpy, in R. This is critical to ensure interoperability of R and python, and to allow retrieval of data already saved into npy format.
- Who is the target audience and what are scientific applications of this package?
Anyone who has hybrid R/python pipelines, or who has collaborators using python. This allows to seamlessly exchange data between both languages (although higher-performance fully interoperable formats should be preferred where available). This is for example very common in molecular biology.
This is also a precious tool to open previously saved and published / archived datasets. See for example zenodo.org/search?q=&f=file_type%3Anpy&l=list&p=1&s=10&sort=newest.
NA
- 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.
#772
- 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:
Use of Generative AI
The package was originally manually written in R. Some C code was then manually migrated from the Rarr package. After this, some minimal conversion of specific steps from R to C was done (e.g., Bisaloo/grumpy@17a80c5) with Posit Assistant in Positron. The agent was guided through it step by step and the entire, small, diff was reviewed before pushing.
Publication options
This package has already been submitted to CRAN
MEE Options
Code of conduct
Submitting Author Name: Hugo Gruson
Submitting Author Github Handle: @Bisaloo
Repository: https://github.com/Bisaloo/grumpy
Version submitted: 0.1.1.9000
Submission type: Standard
Editor: @njtierney
Reviewers: TBD
Archive: TBD
Version accepted: TBD
Language: en
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):
This package allows reading data produced by numpy, or the numerous python libraries depending on numpy, in R. This is critical to ensure interoperability of R and python, and to allow retrieval of data already saved into npy format.
Anyone who has hybrid R/python pipelines, or who has collaborators using python. This allows to seamlessly exchange data between both languages (although higher-performance fully interoperable formats should be preferred where available). This is for example very common in molecular biology.
This is also a precious tool to open previously saved and published / archived datasets. See for example zenodo.org/search?q=&f=file_type%3Anpy&l=list&p=1&s=10&sort=newest.
Are there other R packages that accomplish the same thing? If so, how does yours differ or meet our criteria for best-in-category?
cran.r-project.org/package=RcppCNPy but it supports a subset of cases (types can only match R natives types, so not int16, float32, etc., and the maximum number of array dimensions is 3).
cran.r-project.org/package=reticulate but it is not specifically designed and thus not specifically optimized for this task (extra copies in memory, slower, less flexibility in output format)
(If applicable) Does your package comply with our guidance around Ethics, Data Privacy and Human Subjects Research?
NA
@tagthe editor you contacted.#772
pkgcheckitems which your package is unable to pass.Technical checks
Confirm each of the following by checking the box.
This package:
Use of Generative AI
The package was originally manually written in R. Some C code was then manually migrated from the Rarr package. After this, some minimal conversion of specific steps from R to C was done (e.g., Bisaloo/grumpy@17a80c5) with Posit Assistant in Positron. The agent was guided through it step by step and the entire, small, diff was reviewed before pushing.
Publication options
This package has already been submitted to CRAN
Do you intend for this package to go on Bioconductor?
Do you wish to submit an Applications Article about your package to Methods in Ecology and Evolution? If so:
MEE Options
Code of conduct