"lexical error" using writeManifest() with quarto

i am trying to update a published quarto doc on our posit connect server. when i try to update the manifest using rsconnect::writeManifest() i get the error below.

I specify appDir because my project has 3 published documents, each in their own parent folder. This wasn't an issue initially, but i suspect is now causing the error because the problem text in the error message is contained in a quarto doc in a different folder called make-predictions/.

in my troubleshooting i ran quarto inspect in my terminal and received no error.

Is there anything else I can do to troubleshoot?

i am using quarto 1.6.37, quarto package version ‘1.4.4’ and rsconnect version ‘1.3.1’.

767.25 MB ❯ main ❯ rsconnect::writeManifest(appDir = "monitor-predictions", verbose = TRUE)
Error:
! lexical error: invalid character inside string.
          hest_freq != 1, 0, .)),\n             specimen_number = if_e
                     (right here) ------^
Hide Traceback
    ▆
 1. └─rsconnect::writeManifest(appDir = "monitor-predictions", verbose = TRUE)
 2.   └─rsconnect:::appMetadata(...)
 3.     └─rsconnect:::inferQuartoInfo(...)
 4.       └─rsconnect:::quartoInspect(appDir = appDir, appPrimaryDoc = appPrimaryDoc)
 5.         └─jsonlite::fromJSON(json)
 6.           └─jsonlite:::parse_and_simplify(...)
 7.             └─jsonlite:::parseJSON(txt, bigint_as_char)
 8.               └─jsonlite:::parse_string(txt, bigint_as_char)

Can you try specifying a vector of files instead of a folder?