Package is downloaded but fails to install

The package seemed to be downloaded but fails to install

> BiocManager::install("HiTC")
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.2 (2019-12-12)
Installing package(s) 'HiTC'

Content type 'application/zip' length 3766193 bytes (3.6 MB)
downloaded 3.6 MB

package ‘HiTC’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Users\mzwan\AppData\Local\Temp\RtmpAzfmqF\downloaded_packages
Installation path not writeable, unable to update packages: nnet
Old packages: 'lattice', 'RcppAnnoy', 'rlang'
Update all/some/none? [a/s/n]: 
a

  There is a binary version available but the source version is later:
      binary source needs_compilation
rlang  0.4.4  0.4.5              TRUE


Content type 'application/zip' length 1173528 bytes (1.1 MB)
downloaded 1.1 MB


Content type 'application/zip' length 974430 bytes (951 KB)
downloaded 951 KB


Content type 'application/zip' length 1122396 bytes (1.1 MB)
downloaded 1.1 MB

package ‘lattice’ successfully unpacked and MD5 sums checked
package ‘RcppAnnoy’ successfully unpacked and MD5 sums checked
package ‘rlang’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Users\mzwan\AppData\Local\Temp\RtmpAzfmqF\downloaded_packages
> require(HiTC)
Loading required package: HiTC
Loading required package: IRanges
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ, clusterExport, clusterMap, parApply,
    parCapply, parLapply, parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from ‘package:stats’:

    IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:

    anyDuplicated, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated,
    eval, evalq, Filter, Find, get, grep, grepl, intersect, is.unsorted, lapply, Map, mapply,
    match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, Position, rank, rbind, Reduce,
    rownames, sapply, setdiff, sort, table, tapply, union, unique, unsplit, which, which.max,
    which.min

Loading required package: S4Vectors
Loading required package: stats4

Attaching package: ‘S4Vectors’

The following object is masked from ‘package:base’:

    expand.grid


Attaching package: ‘IRanges’

The following object is masked from ‘package:grDevices’:

    windows

Loading required package: GenomicRanges
Loading required package: GenomeInfoDb
Error: package or namespace load failed for ‘GenomeInfoDb’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘RCurl’
Failed with error:  ‘package ‘GenomeInfoDb’ could not be loaded’

You are missing a package dependency, try installing it

install.packages("RCurl")

Thanks. Depencies, updates and syntax error was my undoing.

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