Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.0%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Manage files in a CRAN-like repository
Statistics
- Stars: 25
- Watchers: 3
- Forks: 5
- Open Issues: 3
- Releases: 2
Topics
Metadata Files
README.md
cranlike
Tools for CRAN-like Repositories
A set of functions to manage CRAN-like repositories efficiently.
This package is an alternative to tools::write_PACKAGES.
The goal is to make updates to the repository easier and faster,
without the need of scanning all the package files.
cranlike keeps the package data in a SQLite database, in addition
to the PACKAGES* files. This database is the canonical source of the
package data. It can be updated quickly, to add and remove packages.
The PACKAGES* files are generated from the database.
Installation
r
install.packages("cranlike")
Usage
r
library(cranlike)
Setting up a repository
create_empty_PACKAGES creates an empty CRAN-like repository in the
specified directory. It creates the SQLite database (if it does not exist),
and also the PACKAGES* files.
update_PACKAGES is similar, but it also scans the directory for package
files, and adds them to the database. Use this function on an existing
CRAN-like repository. It creates and updates the database, and then
the PACKAGES* files.
Adding and removing packages
add_PACKAGES adds one or more package files to the repository.
The files must already exist in the directory. The database is created
if needed, and then updated with the new packages. Then the PACKAGES*
files will be re-generated.
remove_PACKAGES removes one or more package files from the repository.
It first removes them from the database, and then removes the files from
the directory. Finally, it re-generates the PACKAGES* files.
Listing packages
package_versions lists all packages in the repository. It uses the
SQLite database instead of parsing the PACKAGES* files, so it is much
faster.
License
GPL Version 2 or higher © R Consortium
Owner
- Name: The R-hub project of the R Consortium
- Login: r-hub
- Kind: organization
- Email: admin@r-hub.io
- Location: United States of America
- Website: https://r-hub.io
- Repositories: 87
- Profile: https://github.com/r-hub
GitHub Events
Total
- Issues event: 1
- Watch event: 1
- Issue comment event: 3
Last Year
- Issues event: 1
- Watch event: 1
- Issue comment event: 3
Committers
Last synced: over 3 years ago
All Time
- Total Commits: 72
- Total Committers: 3
- Avg Commits per committer: 24.0
- Development Distribution Score (DDS): 0.056
Top Committers
| Name | Commits | |
|---|---|---|
| Gábor Csárdi | c****r@g****m | 68 |
| Kirill Müller | k****r@m****g | 3 |
| Jon Calder | j****r@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 12
- Total pull requests: 4
- Average time to close issues: 8 months
- Average time to close pull requests: about 3 hours
- Total issue authors: 5
- Total pull request authors: 3
- Average comments per issue: 1.17
- Average comments per pull request: 1.25
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 2.5
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- gaborcsardi (8)
- maelle (1)
- mikkmart (1)
- hadley (1)
- JosiahParry (1)
Pull Request Authors
- mikkmart (2)
- krlmlr (2)
- jonmcalder (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 582 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: cranlike
Tools for 'CRAN'-Like Repositories
- Homepage: https://github.com/r-hub/cranlike
- Documentation: http://cran.r-project.org/web/packages/cranlike/cranlike.pdf
- License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
-
Latest release: 1.0.3
published about 2 years ago
Rankings
Maintainers (1)
Dependencies
- DBI * imports
- RSQLite * imports
- debugme * imports
- desc >= 1.1.0 imports
- tools * imports
- utils * imports
- covr * suggests
- mockery * suggests
- testthat * suggests
- withr * suggests
- zip * suggests
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- JamesIves/github-pages-deploy-action v4.5.0 composite
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v4 composite
- r-lib/actions/pr-fetch v2 composite
- r-lib/actions/pr-push v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite