dtupdate icon indicating copy to clipboard operation
dtupdate copied to clipboard

I cannot update via github_update()

Open hfberg opened this issue 6 years ago • 1 comments

I've been looking for a package like this for a long time, thank you! However, I have som problems with updating.

> github_update(auto.install=TRUE, ask =TRUE, dependencies =TRUE)
   |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed = 06s
automatically updating packages...
Packages to be updated

:  

Enter one or more numbers separated by spaces, or an empty line to cancel
1:  

Since no packages showed up here, I entered space to cancel. That's when the package list shows up:

     package       date version gh_version *                              source
1   dtupdate 2019-02-19     1.5        1.5    Github (hrbrmstr/dtupdate@58056ea)
2 gatepoints 2019-01-21   0.1.3      0.1.3   Github (wjawaid/gatepoints@da01295)
3      scMCA 2019-01-14   0.2.0      0.2.0         Github (ggjlab/scMCA@7bb4b71)
4     Seurat 2018-12-14   2.3.4      2.3.3     Github (satijalab/seurat@76be264)
5    SingleR 2019-01-30   0.2.2      0.2.2     Github (dviraran/SingleR@b96534d)

I wanted to update SingleR, so I tried to outsmart it by entering 5. Nothing happens.

> github_update(auto.install=TRUE, ask =TRUE, dependencies =TRUE)
   |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed = 03s
automatically updating packages...
Packages to be updated

:  

Enter one or more numbers separated by spaces, or an empty line to cancel
1: 5
     package       date version gh_version *                              source
1   dtupdate 2019-02-19     1.5        1.5    Github (hrbrmstr/dtupdate@58056ea)
2 gatepoints 2019-01-21   0.1.3      0.1.3   Github (wjawaid/gatepoints@da01295)
3      scMCA 2019-01-14   0.2.0      0.2.0         Github (ggjlab/scMCA@7bb4b71)
4     Seurat 2018-12-14   2.3.4      2.3.3     Github (satijalab/seurat@76be264)
5    SingleR 2019-01-30   0.2.2      0.2.2     Github (dviraran/SingleR@b96534d)

I tried to choose SingleR manually:

> github_update(dviraran/SingleR@b96534d)
   |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed = 05s
Error in github_update(dviraran/SingleR@b96534d) : 
  object 'dviraran' not found
> traceback()
1: github_update(dviraran/SingleR@b96534d)

Since I'm always confused when to use "" i tried that too..

> github_update("dviraran/SingleR@b96534d")
   |++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed = 04s
Error in if (auto.install) { : argument is not interpretable as logical

hfberg avatar Feb 19 '19 03:02 hfberg

I am seeing similar issues to @hfberg. I'm trying to update the fitzRoy R package, which I know was updated 6 days ago, but is not presented as an option using github_update(). It was updated successfully on 2019-03-26 so there may be a recent issue.

neilfws avatar Apr 14 '19 12:04 neilfws