Cannot disable verbose output on HPC - maybe use if (missing(verbose)) instead?
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 67/100
Research direction
Start by reading the verbose handling at the linked locations in R/runSimulation.R and R/runArraySimulation.R. Check how the default interacts with an explicitly supplied verbose = FALSE, and compare the two alternatives suggested in the issue. Done means callers can suppress this output explicitly while the default behavior remains appropriate for HPC runs.
Written by the indexing model from the issue text.
Description
Hi, I started to get check errors when I run reverse dependency checks on an HPC environment.
I'm using [runSimulation(..., verbose = FALSE)](https://github.com/futureverse/progressify/blob/c643ed257ace0875eb987555441c7f43a35309ab/inst/testme/test-progressify-SimDesign.R#L24-L26) in my checks, by verbose = FALSE` is ignored by SimDesign 2.27.
I tracked it down to:
Right now I cannot disable such output without hiding certain env vars from SimDesign.
Maybe an alternative approach would be to use:
if(missing(verbose)) verbose <- on_HPC.cluster()
Or, setting the default argument to verbose = interactive() || on_HPC.cluster()?
- Dominant language
- R
- Stars
- 65
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from philchalmers/SimDesign
-
Difficulty 5/5 Over a week Newbie friendliness 38/100
philchalmers/SimDesign#101 · 11 comments ·
All issues in philchalmers/SimDesign
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
inbo/erl-butterflies-2025#26 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
RConsortium/submissions-pilot7-synthetic-data#95 ·
Maintainers usually reply within 1 day
-
betweenOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100