I can't deploy my shiny application

The problem is that rsconnect :: appDependencies () detects the R lidR package as belonging to Bioconductor when it actually belongs to CRAN.

Package: lidR, Version: 3.0.2, Source: Bioconductor

The error is as follows:

Error: Unhandled Exception: Child Task 765333282 failed: Error parsing manifest: Unable to determine package source for Bioconductor package lidR: Repository must be specified

I don't know what else to try. The solution they usually give as valid does not work:

options (repos = BiocManager :: repositories ())

My repository contains the following:

getOptions ("repos")

BioCsoft: "https://bioconductor.org/packages/3.11/bioc",
BioCann: "https://bioconductor.org/packages/3.11/data/annotation",
BioCexp: "https://bioconductor.org/packages/3.11/data/experiment", BioCworkflows: "https://bioconductor.org/packages/3.11/workflows",
CRAN: "https://cran.rstudio.com/"

Thank you.

I think an 'elegant' solution will only be possible once rsconnect is updated to use renv rather than packrat internally.
Until then I still think renv ( or remotes, or devtools) might be useful as I found I could deploy a lidR dependent app to shinyapps.io by first installing from the development version onto the local machine.

renv::install("Jean-Romain/lidR") # what I did that worked for me
remotes::install_github("Jean-Romain/lidR") # didnt try but expect it would work similarly.

Thanks! remotes::install_github("Jean-Romain/lidR") works perfect!