How to install library(ggoxford) ?

Hi community

Im want to install library(ggoxford) by github but show this error:


#Downloading GitHub repo schliebs/ggoxford@HEAD
#Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
 #download from '' failed

Downloading GitHub repo schliebs/ggoxford@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet,  : 
  download from '' failed

Im try with force=T, but show the same errors.

Any advance for this ? :thinking:

Smells like a connection problem. I just successfully installed with

1 Like

Could also be a rate limiting problem. In any case, I would try using the pak package, at least it will give you a better error message:

1 Like

I though the same but never show this error with any packages.

This was the solution, I'm never use this way for install, tnks!

Was a little time consuming but work well.

Installing pak from stream stable.
trying URL ''
Content type 'application/zip' length 8408689 bytes (8.0 MB)
downloaded 8.0 MB

The downloaded binary packages are in
> pak::pkg_install("schliebs/ggoxford")
! Using bundled GitHub PAT. Please add your own PAT using `gitcreds::gitcreds_set()`.
โœ” Updated metadata database: 5โ€ฆ
โœ” Updating metadata database .โ€ฆ
โ†’ Will install 1 package.
โ†’ Will download 1 package with unknown size.
+ ggoxford   0.1.0 [bld][cmp][dl] (GitHub: 25d7897)
โ„น Getting 1 pkg with unknown size
โœ” Got ggoxford 0.1.0 (source) (11.50 MB)
โœ” Downloaded 1 package (11.50 MB)in 3m 45.4s
โ„น Packaging ggoxford 0.1.0
โœ” Packaged ggoxford 0.1.0 (44.2s)
โ„น Building ggoxford 0.1.0       
โœ” Built ggoxford 0.1.0 (8.4s)   
โœ” Installed ggoxford 0.1.0 (github::schliebs/ggoxford@25d7897) (1.7s)
โœ” 1 pkg + 41 deps: kept 26, added 1, dld 1 (NA B) [5m 6.3s]
> library(ggoxford)
1 Like

Seems like your internet connection is not very fast, so maybe previously you ran into some download timeout. R's default timeouts are quite short. pak's timeouts are more generous.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.