futureverse / futureverse/future

conflict with CLI option handling by optparse package

Open
#319 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
1k
Forks
92
PR merge metrics
No merged PRs in 30d

Description

Hi

I made an R script that can take command line options with help from optparse package and Rscript.
However, when I add "-p" option for my own purpose, it seems to conflict with "future parallel processing" and I get following warning:
> Warning: future: Ignoring invalid number of processes specified in command-line option: -p XXXX
> Warning message:
> In parseCmdArgs() : NAs introduced by coercion

Is there any way to avoid this conflict other than using another option alphabet in optprase?
Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.