Error(s) in re-building vignettes:
  ...
--- re-building ‘BTYD-walkthrough.Rnw’ using knitr
Started reading file. Progress:
1000/6919
2000/6919
3000/6919
4000/6919
5000/6919
6000/6919
File successfully read.
Started merging same-date transactions...
... Finished merging same-date transactions.
Started Creating Repeat Purchases
Finished Creating Repeat Purchases
...Completed Freq CBT
...Completed Freq CBT
Started making calibration period CBS...
Finished building CBS.
Warning in max(logpar) :
  no non-missing arguments to max; returning -Inf
Warning in min(logpar) : no non-missing arguments to min; returning Inf
Started Creating Repeat Purchases
Finished Creating Repeat Purchases
Started reading file. Progress:
1000/6919
2000/6919
3000/6919
4000/6919
5000/6919
6000/6919
File successfully read.
Started merging same-date transactions...
... Finished merging same-date transactions.
Started Creating Repeat Purchases
Finished Creating Repeat Purchases
...Completed Freq CBT
...Completed Freq CBT
Started making calibration period CBS...
Finished building CBS.
Started Creating Repeat Purchases
Finished Creating Repeat Purchases
Started reading file. Progress:
1000/52432
2000/52432
3000/52432
4000/52432
5000/52432
6000/52432
7000/52432
8000/52432
9000/52432
10000/52432
11000/52432
12000/52432
13000/52432
14000/52432
15000/52432
16000/52432
17000/52432
18000/52432
19000/52432
20000/52432
21000/52432
22000/52432
23000/52432
24000/52432
25000/52432
26000/52432
27000/52432
28000/52432
29000/52432
30000/52432
31000/52432
32000/52432
33000/52432
34000/52432
35000/52432
36000/52432
37000/52432
38000/52432
39000/52432
40000/52432
41000/52432
42000/52432
43000/52432
44000/52432
45000/52432
46000/52432
47000/52432
48000/52432
49000/52432
50000/52432
51000/52432
52000/52432
File successfully read.
Started making CBS and CBT from the ELOG...
...Completed Freq CBT
Finished filtering out customers not in the birth period.
No dissipation requested.
Started merging same-date transactions...
... Finished merging same-date transactions.
Started Creating Repeat Purchases
Finished Creating Repeat Purchases
Started Building CBS and CBT for calibration period...
Started Building CBT...
...Completed Freq CBT
Started Building CBT...
...Completed Freq CBT
Started making calibration period CBS...
Finished building CBS.
Finished building CBS and CBT for calibration period.
Started building CBS and CBT for holdout period...
Started Building CBT...
...Completed Freq CBT
Started making holdout period CBS...
Finished building CBS.
Finished building CBS and CBT for holdout.
...Finished Making All CBS and CBT
Error: processing vignette ‘BTYD-walkthrough.Rnw’ failed with diagnostics:
Running ‘texi2dvi’ on ‘BTYD-walkthrough.tex’ failed.
LaTeX errors:
! You can't use `macro parameter character #' in horizontal mode.
l.165 ...  date.idx = 3, sales.idx = 5)elog[1:3,]#
                                                     cust     date sales
? 
! Emergency stop.
! Emergency stop.
l.165 ...  date.idx = 3, sales.idx = 5)elog[1:3,]#
                                                     cust     date sales
End of file on the terminal!

!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘BTYD-walkthrough.Rnw’

SUMMARY: processing the following file failed:
  ‘BTYD-walkthrough.Rnw’

Error: Vignette re-building failed.
Execution halted