Found export directive that requires package ‘methods’:
  ‘exportMethods’
Remove all such namespace directives (if obsolete) or ensure that the
DESCRIPTION Depends or Imports field contains ‘methods’.
Missing or unexported objects:
  ‘float::crossprod’ ‘float::tcrossprod’
Running examples in ‘SFSI-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: LARS
> ### Title: Least Angle Regression to solve LASSO-type problems
> ### Aliases: LARS
> ### Keywords: LARS
> 
> ### ** Examples
> 
>   require(SFSI)
>   data(wheatHTP)
>   
>   y = as.vector(Y[,"E1"])   # Response variable
>   X = scale(X_E1)           # Predictors
> 
>   # Training and testing sets
>   tst = which(Y$trial %in% 1:10)
>   trn = seq_along(y)[-tst]
> 
>   # Calculate covariances in training set
>   XtX = var(X[trn,])
>   Xty = cov(X[trn,],y[trn])
>   
>   # Run the penalized regression
>   fm1 = LARS(XtX,Xty,method="LAR-LASSO")  
Error: 'crossprod' is not an exported object from 'namespace:float'
Execution halted
Found export directive that requires package ‘methods’:
  ‘exportMethods’
Remove all such namespace directives (if obsolete) or ensure that the
DESCRIPTION Depends or Imports field contains ‘methods’.
Missing or unexported objects:
  ‘float::crossprod’ ‘float::tcrossprod’
Found export directive that requires package ‘methods’:
  ‘exportMethods’
Remove all such namespace directives (if obsolete) or ensure that the
DESCRIPTION Depends or Imports field contains ‘methods’.
Missing or unexported objects:
  ‘float::crossprod’ ‘float::tcrossprod’
Running examples in ‘SFSI-Ex.R’ failed
The error most likely occurred in:

> ### Name: LARS
> ### Title: Least Angle Regression to solve LASSO-type problems
> ### Aliases: LARS
> ### Keywords: LARS
> 
> ### ** Examples
> 
>   require(SFSI)
>   data(wheatHTP)
>   
>   y = as.vector(Y[,"E1"])   # Response variable
>   X = scale(X_E1)           # Predictors
> 
>   # Training and testing sets
>   tst = which(Y$trial %in% 1:10)
>   trn = seq_along(y)[-tst]
> 
>   # Calculate covariances in training set
>   XtX = var(X[trn,])
>   Xty = cov(X[trn,],y[trn])
>   
>   # Run the penalized regression
>   fm1 = LARS(XtX,Xty,method="LAR-LASSO")  
Error: 'crossprod' is not an exported object from 'namespace:float'
Execution halted
Found export directive that requires package ‘methods’:
  ‘exportMethods’
Remove all such namespace directives (if obsolete) or ensure that the
DESCRIPTION Depends or Imports field contains ‘methods’.
Missing or unexported objects:
  ‘float::crossprod’ ‘float::tcrossprod’
Running examples in ‘SFSI-Ex.R’ failed
The error most likely occurred in:

> ### Name: LARS
> ### Title: Least Angle Regression to solve LASSO-type problems
> ### Aliases: LARS
> ### Keywords: LARS
> 
> ### ** Examples
> 
>   require(SFSI)
>   data(wheatHTP)
>   
>   y = as.vector(Y[,"E1"])   # Response variable
>   X = scale(X_E1)           # Predictors
> 
>   # Training and testing sets
>   tst = which(Y$trial %in% 1:10)
>   trn = seq_along(y)[-tst]
> 
>   # Calculate covariances in training set
>   XtX = var(X[trn,])
>   Xty = cov(X[trn,],y[trn])
>   
>   # Run the penalized regression
>   fm1 = LARS(XtX,Xty,method="LAR-LASSO")  
Error: 'crossprod' is not an exported object from 'namespace:float'
Execution halted
Found export directive that requires package 'methods':
  'exportMethods'
Remove all such namespace directives (if obsolete) or ensure that the
DESCRIPTION Depends or Imports field contains 'methods'.
Missing or unexported objects:
  'float::crossprod' 'float::tcrossprod'