rstudio / pins-r

Pin, discover, and share resources
https://pins.rstudio.com
Other
312 stars 63 forks source link

RStudio Connect Manifest Malformed #449

Closed akgold closed 3 years ago

akgold commented 3 years ago
> library(pins)
> 
> brd <- board_rsconnect()
> 
> pin_write(brd, mtcars, "test_pins_rds")
Guessing `type = 'rds'`
Error: RStudio Connect API failed [400]
* Cannot open manifest
Run `rlang::last_error()` to see where the error occurred.
> rlang::last_error()
<error/rlang_error>
RStudio Connect API failed [400]
* Cannot open manifest
Backtrace:
 1. pins::pin_write(brd, mtcars, "test_pins_rds")
 3. pins:::pin_store.pins_board_rsconnect(...)
 4. pins:::rsc_POST(...)
 5. pins:::rsc_check_status(req)
Run `rlang::last_trace()` to see the full context.
> packageVersion("pins")
[1] ‘0.99.9000’

Probably related to this:

cat /tmp/RtmppDpLrH/file164469a92919/manifest.json 
{"version":1,"locale":"en_US","platform":"3.5.1","metadata":{"appmode":"static","primary_rmd":null,"primary_html":"index.html","content_category":"pin","has_parameters":false},"packages":null,"files":["/tmp/RtmppDpLrH/test_pins_rds.rds","data.txt","index.html"],"users":null}

Note that the path in "files" is the cache directory on my local machine.

github-actions[bot] commented 2 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.