Running examples in 'LICORS-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: estimate_LC_pdfs
> ### Title: Estimate PLC/FLC distributions for all states
> ### Aliases: estimate_LC_pdfs estimate_LC_pdf_state estimate_LC.pdf.state
> ### Keywords: distribution multivariate nonparametric
> 
> ### ** Examples
> 
> set.seed(10)
> WW <- matrix(runif(10000), ncol = 10)
> WW <- normalize(WW)
> temp_flcs <- cbind(sort(rnorm(nrow(WW))))
> temp_flc_pdfs <- estimate_LC_pdfs(temp_flcs, WW)
Error in is.null(weights) || is.na(weights) : 
  'length = 1000' in coercion to 'logical(1)'
Calls: estimate_LC_pdfs -> estimate_LC_pdf_state
Execution halted
Running examples in ‘LICORS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: estimate_LC_pdfs
> ### Title: Estimate PLC/FLC distributions for all states
> ### Aliases: estimate_LC_pdfs estimate_LC_pdf_state estimate_LC.pdf.state
> ### Keywords: distribution multivariate nonparametric
> 
> ### ** Examples
> 
> set.seed(10)
> WW <- matrix(runif(10000), ncol = 10)
> WW <- normalize(WW)
> temp_flcs <- cbind(sort(rnorm(nrow(WW))))
> temp_flc_pdfs <- estimate_LC_pdfs(temp_flcs, WW)
Error in is.null(weights) || is.na(weights) : 
  'length = 1000' in coercion to 'logical(1)'
Calls: estimate_LC_pdfs -> estimate_LC_pdf_state
Execution halted
Running examples in ‘LICORS-Ex.R’ failed
The error most likely occurred in:

> ### Name: estimate_LC_pdfs
> ### Title: Estimate PLC/FLC distributions for all states
> ### Aliases: estimate_LC_pdfs estimate_LC_pdf_state estimate_LC.pdf.state
> ### Keywords: distribution multivariate nonparametric
> 
> ### ** Examples
> 
> set.seed(10)
> WW <- matrix(runif(10000), ncol = 10)
> WW <- normalize(WW)
> temp_flcs <- cbind(sort(rnorm(nrow(WW))))
> temp_flc_pdfs <- estimate_LC_pdfs(temp_flcs, WW)
Error in is.null(weights) || is.na(weights) : 
  'length = 1000' in coercion to 'logical(1)'
Calls: estimate_LC_pdfs -> estimate_LC_pdf_state
Execution halted
Running examples in ‘LICORS-Ex.R’ failed
The error most likely occurred in:

> ### Name: estimate_LC_pdfs
> ### Title: Estimate PLC/FLC distributions for all states
> ### Aliases: estimate_LC_pdfs estimate_LC_pdf_state estimate_LC.pdf.state
> ### Keywords: distribution multivariate nonparametric
> 
> ### ** Examples
> 
> set.seed(10)
> WW <- matrix(runif(10000), ncol = 10)
> WW <- normalize(WW)
> temp_flcs <- cbind(sort(rnorm(nrow(WW))))
> temp_flc_pdfs <- estimate_LC_pdfs(temp_flcs, WW)
Error in is.null(weights) || is.na(weights) : 
  'length = 1000' in coercion to 'logical(1)'
Calls: estimate_LC_pdfs -> estimate_LC_pdf_state
Execution halted
Running examples in 'LICORS-Ex.R' failed
The error most likely occurred in:

> ### Name: estimate_LC_pdfs
> ### Title: Estimate PLC/FLC distributions for all states
> ### Aliases: estimate_LC_pdfs estimate_LC_pdf_state estimate_LC.pdf.state
> ### Keywords: distribution multivariate nonparametric
> 
> ### ** Examples
> 
> set.seed(10)
> WW <- matrix(runif(10000), ncol = 10)
> WW <- normalize(WW)
> temp_flcs <- cbind(sort(rnorm(nrow(WW))))
> temp_flc_pdfs <- estimate_LC_pdfs(temp_flcs, WW)
Error in is.null(weights) || is.na(weights) : 
  'length = 1000' in coercion to 'logical(1)'
Calls: estimate_LC_pdfs -> estimate_LC_pdf_state
Execution halted