callr-org / website

http://callr.org
6 stars 0 forks source link

install: false warning when repos name differ from package name #25

Open HenrikBengtsson opened 7 years ago

HenrikBengtsson commented 7 years ago

When the GitHub repository name differ from the package name, then install incorrectly summaries the results saying the package failed to install, e.g.

> source("http://callr.org/install#satijalab/seurat")
[...]
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (Seurat)

Package updates:
             Previous Current
cowplot          <NA>   0.7.0
FNN              <NA>     1.1
RcppProgress     <NA>     0.3
ROCR             <NA>   1.0-7
seurat           <NA>    <NA>
Seurat           <NA>   1.4.0
tclust           <NA>   1.2-3
tsne             <NA>   0.1-3

Failed to install requested package: 'seurat'

but the package did install as the table shows and:

library("Seurat")
Loading required package: ggplot2
Loading required package: cowplot

Attaching package: 'cowplot'

The following object is masked from 'package:ggplot2':

    ggsave
HenrikBengtsson commented 7 years ago

UPDATE: The underlying remotes::install_*() calls may return information on this in the future, cf. https://github.com/r-pkgs/remotes/issues/55#issuecomment-281936580