When using stock on a package that has a different name from its GitHub repository, the installation is successful but check_installed does not detect it correctly
How do you reproduce the problem?
Stock a package with a different repository name from the package name
This repository contains SeuratDisk:
librarian::stock(mojaveazure/seurat-disk)
How to fix the issue
This can probably be directly fixed by reading the output of remotes::install_github, since it returns the package names. It might cause some control flow issues in other functions since seurat-disk is detected as not installed.
System info
What problem do you get?
When using stock on a package that has a different name from its GitHub repository, the installation is successful but
check_installed
does not detect it correctlyHow do you reproduce the problem?
Stock a package with a different repository name from the package name This repository contains SeuratDisk:
How to fix the issue
This can probably be directly fixed by reading the output of
remotes::install_github
, since it returns the package names. It might cause some control flow issues in other functions since seurat-disk is detected as not installed.Additional Information
Relevant issue:
https://github.com/r-lib/remotes/issues/55