Running examples in ‘NCmisc-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: NCmisc-package
> ### Title: Miscellaneous Functions for Creating Adaptive Functions and
> ###   Scripts
> ### Aliases: NCmisc-package NCmisc
> ### Keywords: iteration color utilities package
> 
> ### ** Examples
> 
> #text histogram suited to working from a console without GUI graphics
> textogram(rnorm(10000),range=c(-3,3))
  -3   . 
-2.5   .. 
  -2   .... 
-1.5   ......... 
  -1   ............... 
-0.5   .................... 
   0   ................... 
 0.5   .............. 
   1   .......... 
 1.5   .... 
   2   .. 
 2.5    
> # wait 0.2 seconds
> wait(0.2,silent=FALSE) 
waiting 0.2 seconds...done
> # see whether a system command is installed
> check.linux.install("sed") 
 sed 
TRUE 
> # a nice progress bar
> max <- 100; for (cc in 1:max) { loop.tracker(cc,max); wait(0.004,"s") }
0         25%         50%         75%         100%
..................................................
> # nice header
> Header(c("SPACE","The final frontier"))

======================
=       SPACE        =
= The final frontier =
======================

> # memory req'd for proposed or actual object
> estimate.memory(matrix(rnorm(100),nrow=10)) 
[1] 1.016e-06
> # a mode function (there isn't one included as part of base)
> Mode(c(1,2,3,3,4,4,4))
[1] 4
> # search for packages containing text, eg, 'misc'
> search.cran("misc",repos="http://cran.ma.imperial.ac.uk/") 
Warning: unable to access index for repository http://cran.ma.imperial.ac.uk/src/contrib:
  download from 'http://cran.ma.imperial.ac.uk/src/contrib/PACKAGES' failed
$misc
character(0)

> # breakdown of processing time using proftools
> # not run:  timeit(wait(2,"s") ,total.time=TRUE) 
> # simulate a correlated dataset
> corDat <- sim.cor(200,5)
> cor(corDat) # show correlation matrix
          [,1]      [,2]      [,3]      [,4]      [,5]
[1,] 1.0000000 0.2663315 0.1279678 0.1052180 0.3188941
[2,] 0.2663315 1.0000000 0.1769150 0.2354091 0.7684097
[3,] 0.1279678 0.1769150 1.0000000 0.3994698 0.2312096
[4,] 0.1052180 0.2354091 0.3994698 1.0000000 0.2903912
[5,] 0.3188941 0.7684097 0.2312096 0.2903912 1.0000000
> prv(corDat) # show compact preview of matrix
Loading required package: BiocInstaller
Bioconductor version 3.7 (BiocInstaller 1.30.0), ?biocLite for help
corDat (matrix, 200*5)

      col# 
 row#        1        2  .....         5 
    1  -0.0554  -0.6211   ...    -0.5045 
    2  -0.4093    1.193   ...      1.295 
    3   0.6552   0.6705   ...     0.1526 
  ...      ...      ...   ...        ... 
  200   1.2078   0.7999   ...     0.8337 

> # Dim() versus dim()
> Dim(1:10); dim(1:10)
[1] 10
NULL
> # check whether package is loaded (when not required or dependency)
> packages.loaded("bigmemory")
Error in readRDS(dest) : error reading from connection
Calls: packages.loaded -> search.cran -> available.packages -> readRDS
In addition: Warning message:
In readRDS(dest) : lzma decoding result 10
Execution halted