Skip to content

Error in covr::package_coverage() #82

@venkatesh588

Description

@venkatesh588

What happened?

Hi Team,

I'm getting for many packages the below mentioned error message in the coverage section. Can someone help on this.

Error in covr::package_coverage():
! Package installation did not succeed.
Backtrace:

covr::package_coverage(Sys.getenv("INPUT_REPORT_PKG_DIR", "."))
Quitting from lines 164-166 [coverage] (template.qmd)
Execution halted
WARN: Should not have arrived here:
ERROR: [non-error-thrown] undefined

Stack trace:
at _Command.handleError (file:///opt/quarto/bin/quarto.js:10025:117)
at _Command.parseCommand (file:///opt/quarto/bin/quarto.js:9712:12)
at eventLoopTick (ext:core/01_core.js:178:7)
at async quarto (file:///opt/quarto/bin/quarto.js:175825:5)
at async file:///opt/quarto/bin/quarto.js:175853:5
at async file:///opt/quarto/bin/quarto.js:175708:14
at async mainRunner (file:///opt/quarto/bin/quarto.js:175710:5)
at async file:///opt/quarto/bin/quarto.js:175846:3
Error in quarto_render():
! Error running quarto CLI from R.
Caused by error in quarto_render():
✖ Error returned by quarto CLI.
processing file: template.qmd
1/20
2/20 [setup]
3/20
4/20 [execution_info]
5/20
6/20 [version_control]
7/20
8/20 [session_info]
9/20
10/20 [riskmetric]
11/20
12/20 [r_cmd_check]
13/20
14/20 [coverage]
Error in covr::package_coverage():
! Package installation did not succeed.
Backtrace:

covr::package_coverage(Sys.getenv("INPUT_REPORT_PKG_DIR", "."))
Quitting from lines 164-166 [coverage] (template.qmd)
Execution halted
WARN: Should not have arrived here:
ERROR: [non-error-thrown] undefined

Stack trace:
at _Command.handleError (file:///opt/quarto/bin/quarto.js:10025:117)
at _Command.parseCommand (file:///opt/quarto/bin/quarto.js:9712:12)
at eventLoopTick (ext:core/01_core.js:178:7)
at async quarto (file:///opt/quarto/bin/quarto.js:175825:5)
at async file:///opt/quarto/bin/quarto.js:175853:5
at async file:///opt/quarto/bin/quarto.js:175708:14
at async mainRunner (file:///opt/quarto/bin/quarto.js:175710:5)
at async file:///opt/quarto/bin/quarto.js:175846:3

Caused by error:
! System command 'quarto' failed
Backtrace:

├─quarto::quarto_render(template_path, output_file = "validation_report.pdf")
│ └─quarto:::quarto_run(args, echo = TRUE, quarto_bin = quarto_bin)
│ ├─base::withCallingHandlers(...)
│ └─processx::run(...)
│ └─throw(...)
│ └─base::signalCondition(cond)
└─quarto (local) (<systm___>)
└─quarto:::wrap_quarto_error(e, args, .call = .call)
└─cli::cli_abort(msg, call = .call, parent = cnd, )
└─rlang::abort(...)
Execution halted
Error: Process completed with exit code 1.

Regards,
Venkateswar

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions