Malformed field(s): LazyData
Malformed field(s): LazyData
Malformed field(s): LazyData
Malformed field(s): LazyData
Malformed field(s): LazyData
Malformed field(s): LazyData
Package suggested but not available for checking: ‘mixOmics’
Running examples in ‘PLSbiplot1-Ex.R’ failed
The error most likely occurred in:

> ### Name: Mag.Bmat.plot
> ### Title: Magnitude of the Partial Least Squares Regression (PLSR)
> ###   coefficients matrix
> ### Aliases: Mag.Bmat.plot
> 
> ### ** Examples
> 
> if(require(pls))
+ data(oliveoil, package="pls")
Loading required package: pls

Attaching package: ‘pls’

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

    loadings

> X = as.matrix(oliveoil$chemical, ncol=5)
> dimnames(X) = list(paste(c("G1","G2","G3","G4","G5","I1","I2","I3","I4","I5",
+ "S1","S2","S3","S4","S5","S6")),
+ paste(c("Acidity","Peroxide","K232","K270","DK")))
> Y = as.matrix(oliveoil$sensory, ncol=6)
> dimnames(Y) = list(paste(c("G1","G2","G3","G4","G5","I1","I2","I3","I4","I5",
+ "S1","S2","S3","S4","S5","S6")),
+ paste(c("Yellow","Green","Brown","Glossy","Transp","Syrup")))
> Mag.Bmat.plot(X, Y, algorithm=mod.SIMPLS, A=2)
> 
> #nutrimouse data
> if(require(mixOmics))
+ data(nutrimouse, package="mixOmics")
Loading required package: mixOmics
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘mixOmics’
> X1 = as.matrix(nutrimouse$lipid, ncol=21)
Error in as.matrix(nutrimouse$lipid, ncol = 21) : 
  object 'nutrimouse' not found
Execution halted

Error(s) in re-building vignettes:
  ...
--- re-building 'introduction.Rmd' using rmarkdown
Installing package into '/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages'
(as 'lib' is unspecified)
Warning in install.packages("SleepCycles", repos = "http://cran.us.r-project.org") :
  'lib = "/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages"' is not writable
Quitting from lines 51-56 (introduction.Rmd) 
Error: processing vignette 'introduction.Rmd' failed with diagnostics:
unable to install packages
--- failed re-building 'introduction.Rmd'

SUMMARY: processing the following file failed:
  'introduction.Rmd'

Error: Vignette re-building failed.
Execution halted
Error(s) in re-building vignettes:
  ...
--- re-building ‘introduction.Rmd’ using rmarkdown
Installing package into '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages'
(as 'lib' is unspecified)
Warning in install.packages("SleepCycles", repos = "http://cran.us.r-project.org") :
  'lib = "/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages"' is not writable
Quitting from lines 51-56 (introduction.Rmd) 
Error: processing vignette 'introduction.Rmd' failed with diagnostics:
unable to install packages
--- failed re-building ‘introduction.Rmd’

SUMMARY: processing the following file failed:
  ‘introduction.Rmd’

Error: Vignette re-building failed.
Execution halted