Skip to content

parallelly

1.48.0Package record

Enhancing the 'parallel' Package

89packages dependsuggested by 36
4.2Mdownloads / year
64.0%test coverage
13/13flavors OK

Overview

About

Utility functions that enhance the 'parallel' package and support the built-in parallel backends of the 'future' package. For example, availableCores() gives the number of CPU cores available to your R process as given by the operating system, 'cgroups' and Linux containers, R options, and environment variables, including those set by job schedulers on high-performance compute clusters. If none is set, it will fall back to parallel::detectCores(). Another example is 'parallel::makeCluster(type = "RPSOCK")', which is backward compatible with 'parallel::makeCluster()' while doing a better job in setting up remote cluster workers without the need for configuring the firewall to do port-forwarding to your local computer.

Changes in 1.48.0

New Features

  • availableCores() and availableWorkers() gained support for R options parallelly.availableCores.methods.excludes and parallelly.availableWorkers.methods.excludes (with corresponding environment variables) to specify lookup methods to be excluded by default.
  • makeClusterPSOCK() and makeNodePSOCK() gained argument rscript_call to customize the parallel worker loop, which defaults to parallel:::.workRSOCK().
  • Add internal worker loop parallelly:::workRPSOCK() that takes optional argument workCommand to customize the default parallel:::workCommand().
Show all changes in 1.48.0Hide the rest of the changes in 1.48.0
  • Analogusly to availableCores(), availableWorkers() queries also Linux CGroups v2 CPU affinity values cpuset.cpus and cpuset.cpus.effective.

Bug Fixes

  • availableCores(methods = "cgroups2.cpuset.cpus") would produce "Error : 'length(cpuset) <= max_cores' is not TRUE" if CGroups v2 'cpuset.cpus' comprised an empty string.
  • availableCores(methods = "cgroups2.cpuset.cpus.effective") would produce "Error in if (any(value < 0L | value >= max_cores)) { : missing value where TRUE/FALSE needed" if parallel::detectCores() returned a missing value.
  • Now makeClusterPSOCK(workers) produces a more informative error message if workers is not an integer or a character vector.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.7 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-04-30
  • ERROR12 OK, 1 ERROR2026-04-28
  • OK14 OK2026-03-31
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-03-28
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.48.0
README· In the repository, left out of the releaseVignettesYes · 9 · staticNEWSYes · 100% structured · mentions 1.48.0Citation fileNoWebsiteYes · pkgdown
Help pages
24 (5 internal)
Examples that run
83%15 run in a plain check (2 of them under a condition) · 2 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
Exported functions with examples
85%
Documented parameters
90%
Return-value docs
100%
Help pages citing references
21%

Downloads

4.2M
CRAN downloads in the past year
Rank #182 · ~11.4K/day · ~346.2K/mo
Daily download trend is not available in this view yet.
306.9K30 days
932K90 days
4.2M1 year
Compare downloads with other packages →
Also on112.8K r2u7 autocran502.3K conda_forge18.2K c2d4u

Repository

140Stars
10Forks
24Open issues
2Open PRs
0Releases
1,265Commits
2Commit identities
rpackageparallel-computing
1,265 commits · Last activity 2026-10-09 · 0% stars, 30d · Default branch at 1.48.0-9067, ahead of CRAN 1.48.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
50%
Median days to close, 50 most recently updated closed issues
5
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2025-10-10 · 1352026-09-14 · 140
PracticesBeta

11 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/futureverse/parallelly on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (3)
Code of conduct (inherited from futureverse)Contributing guide (inherited from futureverse)Issue templates
Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-10-07

pkgdown site last built 2026-10-07

Coverage (1)
Coverage reporting
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
Makefile
CRAN release process (1)
revdep/
Research and citation (1)
CITATION.cff
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing parallelly adds no packages beyond those that come with R.

Depends (0)
none
Imports (3)
paralleltoolsutils
LinkingTo (0)
none
Enhances (0)
none

People & History

People (2)
Author, Maintainer since 1.20.0 (2020), Copyright holder
Contributor · added in 1.38.0
Releases (36)

Pick two releases to compare their code metrics.

Show 27 earlier eventsHide 27 earlier events

Package metadata

First published
2020-10-20
Total releases
36 / 6 yrs
License
LGPL (>= 2.1)
Download size
343 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("parallelly")
Bengtsson, H., & Cheng, M. (2026). parallelly: Enhancing the 'parallel' Package (Version 1.48.0) [Computer software]. https://doi.org/10.32614/CRAN.package.parallelly

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

The repository also keeps a CITATION.cff.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for parallelly version 1.48.0 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy