Error parsing manifest: Unknown repository for package source: git

Hi! I'm trying to deploy a shiny app with the shiny post-it server as detailed here , but found this error

> rsconnect::deployApp(appDir = 'inst/rfasstui', appTitle = 'rfasstUI')
-- Preparing for deployment ------------------------------------------------------------------------------------------------------------------------
v Re-deploying "rfasstui" using "server: shinyapps.io / username: bc3lc"
i Looking up application with id "11517388"...
v Found application <https://bc3lc.shinyapps.io/rfasstui/>
i Bundling 14 files: observers.R, output.R, parameters.R, server.R, ui.R, www/custom.css, www/images/bc3_logo.png, www/images/GitHub-logo.png, www/images/sky.png, www/input/example_prj/example_ssp.dat, www/input/queries/queries_rfasst.xml, www/input/queries/queries_rfasst_nonCO2.xml, www/input/queries.zip, and www/style.css
i Capturing R dependencies with renv
v Found 143 dependencies
v Created 21,139,115b bundle
i Uploading bundle...
 [100%] Uploaded 21139115 bytes...
v Uploaded bundle with id 8386196
-- Deploying to server -----------------------------------------------------------------------------------------------------------------------------
Waiting for task: 1395762972
  error: Parsing manifest
## Begin Task Log ##################################################################################################################################
## End Task Log ####################################################################################################################################
Error: Unhandled Exception: child_task=1395762973 child_task_status=failed: Error parsing manifest: Unknown repository for package source: git

I'm working with renv() and my session info (Windows) is

> sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19045)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252    LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C                            LC_TIME=English_United Kingdom.1252    

attached base packages:
[1] stats     graphics  grDevices datasets  utils     methods   base     

other attached packages:
[1] rgcam_1.2.0  rmap_1.0.0   rfasst_1.3.0

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.10        pillar_1.9.0       compiler_4.1.0     class_7.3-19       tools_4.1.0        digest_0.6.35      jsonlite_1.8.8    
 [8] lubridate_1.9.2    lifecycle_1.0.4    tibble_3.2.0       timechange_0.2.0   pkgconfig_2.0.3    rlang_1.1.1        DBI_1.2.2         
[15] cli_3.6.2          rstudioapi_0.14    curl_5.0.0         e1071_1.7-13       xml2_1.3.6         stringr_1.5.1      dplyr_1.1.4       
[22] httr_1.4.5         askpass_1.1        generics_0.1.3     vctrs_0.6.5        hms_1.1.2          classInt_0.4-9     grid_4.1.0        
[29] tidyselect_1.2.0   glue_1.6.2         sf_1.0-12          R6_2.5.1           fansi_1.0.4        purrr_1.0.1        tidyr_1.3.0       
[36] tzdb_0.3.0         readr_2.1.4        magrittr_2.0.3     ellipsis_0.3.2     units_0.8-1        jgcricolors_1.0.0  rsconnect_1.2.1   
[43] renv_1.0.5         KernSmooth_2.23-20 utf8_1.2.3         stringi_1.7.12     proxy_0.4-27       openssl_2.0.6     

Thank you in advance!!

I assume this is the one ?
What was your method for bringing it into your project initially ?

Hi @nirgrahamuk, thank you for your rapid response!

I did

remotes::install_github('bc3LC/rfasst@dev_k')

Also for rcgam and rmap used the same function to install them.

If you require any further information, let me know!

Best,
Clàudia

One thought I have is whether it could be a authentication issues; i..e perhaps the GITHUB PAT is expired or missing.
Could you run that same remotes::install command succesfully now ?

One thing I might try is to have a look at the manifest and see if it seems correct:.
I think Create a manifest.json — writeManifest • rsconnect (rstudio.github.io)
writeManifest is how one would do it.

Thank you @nirgrahamuk , the problem was solved! It was related to the GITHUB PAT authentication.

Thank you again!
Clàudia

Glad to know my instincts were good !
Its a shame the error message does simply say "Rejected on PAT" or something :slight_smile: