Skip to content

new version of devtools::check() ends with quarto-related error #2638

@tony-aw

Description

@tony-aw

Hi,

running devtools::check() using the latest version of devtools (2.4.6) and the latest version of 'R' (4.5.2) always ends with the following error message:

checking tests ...
    [115s] OKinytest.R'
   * checking for non-standard things in the check directory ... OK
   * checking for detritus in the temp directory ... OK
   * DONE
   
   Status: OK
   
   ERROR: Unknown command "TMPDIR=C:/Users/Tony/AppData/Local/Temp/RtmpC8IztP/file6af46b422168". Did you mean command "create-project"?
   
   Error: Unknown command "TMPDIR=C:/Users/Tony/AppData/Local/Temp/RtmpC8IztP/file6af46b422168". Did you mean command "create-project"?
       at Command.parseArguments (file:///D:/Programs/Quarto/bin/quarto.js:8553:31)
       at Command.parseCommand (file:///D:/Programs/Quarto/bin/quarto.js:8320:31)
       at async quarto (file:///D:/Programs/Quarto/bin/quarto.js:127545:5)
       at async file:///D:/Programs/Quarto/bin/quarto.js:127563:9
   Warning message:
   In system2("quarto", "-V", stdout = TRUE, env = paste0("TMPDIR=",  :
     running command '"quarto" TMPDIR=C:/Users/Tony/AppData/Local/Temp/RtmpC8IztP/file6af46b422168 -V' had status 1
> foo
── R CMD check results ────────────────────────────────────────── broadcast 0.1.7.5 ────
Duration: 4m 17.7s

0 errors ✔ | 0 warnings ✔ | 0 notes ✔

The issue is not present when using devtools version 2.4.5 with R version 4.5.1.
Devtools has a lot of dependencies, so if the issue is not in devtools itself, which dependent package might be the issue?
The error is apparently quarto-related; does devtools even need quarto?

Please fix this issue.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions