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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gprob_sim_gc_missing
> ### Title: Simulate genotypes by gene copy, with missing data from chosen
> ###   individuals
> ### Aliases: gprob_sim_gc_missing
> ### Keywords: internal
> 
> ### ** Examples
> 
> 
> # If one wanted to simulate the missing data patterns
> # of a troublesome mixture dataset, one would run tcf2param_list,
> # selecting samp_type = "mixture", then draw sim_miss from
> # the mixture individual genotype list
> 
> # make a fake mixture data set to demonstrate...
> drawn <- mixture_draw(alewife, rhos = c(1/3, 1/3, 1/3),N = 100)
Error in sample.int(n(), check_size(~samp_sizes[repunit], n(), replace = replace),  : 
  invalid 'size' argument
Calls: mixture_draw ... slice_rows -> <Anonymous> -> .Call -> ~ -> sample.int
Execution halted
Running examples in ‘rubias-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: gprob_sim_gc_missing
> ### Title: Simulate genotypes by gene copy, with missing data from chosen
> ###   individuals
> ### Aliases: gprob_sim_gc_missing
> ### Keywords: internal
> 
> ### ** Examples
> 
> 
> # If one wanted to simulate the missing data patterns
> # of a troublesome mixture dataset, one would run tcf2param_list,
> # selecting samp_type = "mixture", then draw sim_miss from
> # the mixture individual genotype list
> 
> # make a fake mixture data set to demonstrate...
> drawn <- mixture_draw(alewife, rhos = c(1/3, 1/3, 1/3),N = 100)
Error in sample.int(n(), check_size(~samp_sizes[repunit], n(), replace = replace),  : 
  invalid 'size' argument
Calls: mixture_draw ... slice_rows -> <Anonymous> -> .Call -> ~ -> sample.int
Execution halted
Running examples in ‘rubias-Ex.R’ failed
The error most likely occurred in:

> ### Name: gprob_sim_gc_missing
> ### Title: Simulate genotypes by gene copy, with missing data from chosen
> ###   individuals
> ### Aliases: gprob_sim_gc_missing
> ### Keywords: internal
> 
> ### ** Examples
> 
> 
> # If one wanted to simulate the missing data patterns
> # of a troublesome mixture dataset, one would run tcf2param_list,
> # selecting samp_type = "mixture", then draw sim_miss from
> # the mixture individual genotype list
> 
> # make a fake mixture data set to demonstrate...
> drawn <- mixture_draw(alewife, rhos = c(1/3, 1/3, 1/3),N = 100)
Error in sample.int(n(), check_size(~samp_sizes[repunit], n(), replace = replace),  : 
  invalid 'size' argument
Calls: mixture_draw ... slice_rows -> <Anonymous> -> .Call -> ~ -> sample.int
Execution halted
Running examples in 'rubias-Ex.R' failed
The error most likely occurred in:

> ### Name: gprob_sim_gc_missing
> ### Title: Simulate genotypes by gene copy, with missing data from chosen
> ###   individuals
> ### Aliases: gprob_sim_gc_missing
> ### Keywords: internal
> 
> ### ** Examples
> 
> 
> # If one wanted to simulate the missing data patterns
> # of a troublesome mixture dataset, one would run tcf2param_list,
> # selecting samp_type = "mixture", then draw sim_miss from
> # the mixture individual genotype list
> 
> # make a fake mixture data set to demonstrate...
> drawn <- mixture_draw(alewife, rhos = c(1/3, 1/3, 1/3),N = 100)
Error in sample.int(n(), check_size(~samp_sizes[repunit], n(), replace = replace),  : 
  invalid 'size' argument
Calls: mixture_draw ... slice_rows -> <Anonymous> -> .Call -> ~ -> sample.int
Execution halted
installed size is  5.2Mb
  sub-directories of 1Mb or more:
    libs   3.5Mb