\PassOptionsToPackage{table}{xcolor}
\documentclass{book}
\usepackage[a4paper, top=3cm, bottom=3cm, left=2cm, right=2cm]{geometry}
\usepackage[utf8]{inputenc}
%------- for Korean using kotex
\usepackage[hangul]{kotex}
\usepackage{setspace}
\usepackage{tocloft}
\usepackage{makeidx}
\usepackage{relsize,setspace}
\usepackage{rotating}
\usepackage{lscape}
\usepackage{hyperref}
\usepackage{titletoc}
%------- for kableExtra package in R, start
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{array}
\usepackage{multirow}
\usepackage[table]{xcolor}
\usepackage{wrapfig}
\usepackage{float}
\usepackage{colortbl}
\usepackage{pdflscape}
\usepackage{tabu}
\usepackage{threeparttable}
\usepackage[normalem]{ulem}
%------- for kableExtra package in R, end

\hypersetup{
    pdfencoding=auto,
    colorlinks,
    citecolor=black,
    filecolor=black,
    linkcolor=black,
    urlcolor=black
}

\makeindex

\begin{document}

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

%------- title page
\begin{titlepage}
\begin{center}

\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\includegraphics[width=0.4\textwidth]{./img/Rlogo}~\\[1cm]
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\includegraphics[width=0.3\textwidth]{./img/detective_2}~\\[1cm]
\end{flushright}
\end{minipage}\\[4.5cm]

\textsc{\Large dlookr 보고서 시리즈}\\[1.0cm]

% Title
\HRule \\[0.4cm]
{ \huge \bfseries 데이터 품질진단 보고서 \\[0.4cm] }

\HRule \\[4.5cm]

% Author and package version
\begin{minipage}{0.4\textwidth}
\begin{flushleft} \large
\emph{작성자:}\\
dlookr package
\end{flushleft}
\end{minipage}
\begin{minipage}{0.4\textwidth}
\begin{flushright} \large
\emph{버전:} \\
0.4.0
\end{flushright}
\end{minipage}

\vfill

% Bottom of the page
{\large \today}

\end{center}
\end{titlepage}

% Last pages for ToC
%-------------------------------------------------------------------------------
\newpage
% Include dots between chapter name and page number
\renewcommand{\cftchapdotsep}{\cftdotsep}
% \dottedcontents{<section>}[<left>]{<above-code>}
% {<label width>}{<leader width>}
\dottedcontents{chapter}[1em]{\bfseries}{4em}{1pc}
\dottedcontents{section}[4em]{\bfseries}{4em}{1pc}
\dottedcontents{subsection}[6em]{\mdseries}{3em}{1pc}
% Last pages for ToC
%-------------------------------------------------------------------------------
% Include the ToC
\tableofcontents

<<'child-section-application', child='01_Diagnose_KR.Rnw'>>=
@

\end{document}
