[R/adm_archive_file.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_archive_file.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_archive_file} is an internal function that moves a file from a source directory to an archive directory.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_archive_file.R:13:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_archive_file.R#L13) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_archive_file(file_path = "C:\\Users\\source\\file.xlsx", archive = "C:\\Users\\archive")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_archive_file.R:31:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_archive_file.R#L31) *style:* **Lines should not be more than 80 characters.**
```r
    stop(paste0("Failed to move file from: '", file_path, "' to: '", archive_file_path, "'\nOriginal error message: '", cond, "'"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_archive_file.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_archive_file.R#L35) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/adm_create_connection.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_create_connection.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_create_connection} is an internal function to create and open an ODBC database connection.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_create_connection.R:25:27:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_create_connection.R#L25) *style:* **Put spaces around all infix operators.**
```r
                    Driver="SQL Server",
                         ~^~
```
[R/adm_create_connection.R:26:39:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_create_connection.R#L26) *style:* **Put spaces around all infix operators.**
```r
                    Trusted_Connection="True",
                                     ~^~
```
[R/adm_create_connection.R:27:29:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_create_connection.R#L27) *style:* **Put spaces around all infix operators.**
```r
                    DATABASE=database,
                           ~^~
```
[R/adm_create_connection.R:28:27:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_create_connection.R#L28) *style:* **Put spaces around all infix operators.**
```r
                    SERVER=server)},
                         ~^~
```
[R/adm_create_connection.R:32:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_create_connection.R#L32) *style:* **Lines should not be more than 80 characters.**
```r
      stop(paste0("Failed to create connection to database: '", database, "' on server: '", server, "'\nOriginal error message: '", cond, "'"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_delete_table.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_delete_table} opens an ODBC connection and deletes a specified table.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:14:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_delete_table.R#L14) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_delete_table(database = "DatabaseName", server = "ServerName", table = "TableName")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:19:53:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_delete_table.R#L19) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
adm_delete_table <- function(database, server, table){
                                                    ^~
```
[R/adm_delete_table.R:21:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_delete_table.R#L21) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:27:27:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_delete_table.R#L27) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  }, error = function(cond){
                          ^~
```
[R/adm_delete_table.R:29:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_delete_table.R#L29) *style:* **Lines should not be more than 80 characters.**
```r
    stop(paste0("Failed to delete table: '", table, "' from database: '", database, "' on server: '", server, "'\nOriginal error message: ", cond))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_delete_table.R#L35) *style:* **Lines should not be more than 80 characters.**
```r
  message("Table: '", table, "' successfully deleted from database: '", database, "' on server '", server, "'")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_folder_to_db.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_folder_to_db} uploads all worksheets in all Excel workbooks in a specified location to a specified database. Processed folders are then moved from the source folder to an archive folder.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:7:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_folder_to_db.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param source \code{string}. The path of the directory containing Excel files.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:8:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_folder_to_db.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
#' @param archive \code{string}. The path of the directory to send processed files to.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:15:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_folder_to_db.R#L15) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_folder_to_db(database = "DatabaseName", server = "ServerName\\Instance", file_path = "C:\\Temp\\ExcelFile.xlsx")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:18:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_folder_to_db.R#L18) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_folder_to_db(database = "DatabaseName", server = "ServerName\\Instance", file_path = "C:\\Temp\\ExcelFile.xlsx", archive = "C:\\ArchiveFolder\\")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:31:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_folder_to_db.R#L31) *style:* **Lines should not be more than 80 characters.**
```r
    admStructuredData:::adm_workbook_to_db(database = database, server = server, file_path = file_path, archive = archive)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_files.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_list_files.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_list_files} is an internal function to list files in a source directory.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_tables.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_list_tables.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_list_tables} lists all base tables in a SQL Server database on a specified server.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_tables.R:20:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_list_tables.R#L20) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_tables.R:21:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_list_tables.R#L21) *style:* **Lines should not be more than 80 characters.**
```r
  query_string <- paste0("SELECT TABLE_NAME FROM ", database, ".INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE'")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_read_table.R:14:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_read_table.R#L14) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_read_table(database = "DatabaseName", server = "ServerName", table = "TableName")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_read_table.R:22:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_read_table.R#L22) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_workbook_to_db.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_workbook_to_db} writes all worksheets in an Excel workbook to a SQL Server database.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:8:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_workbook_to_db.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
#' @param archive \code{string}. Optional. The path of the directory to move the processed file to.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:16:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_workbook_to_db.R#L16) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_workbook_to_db(database = "DatabaseName", server = "ServerName\\Instance", file_path = "C:\\Temp\\ExcelFile.xlsx")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:19:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_workbook_to_db.R#L19) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_workbook_to_db(database = "DatabaseName", server = "ServerName\\Instance"file_path = "C:\\Temp\\ExcelFile.xlsx", archive = "C:\\ArchiveFolder\\")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_workbook_to_db.R#L35) *style:* **Lines should not be more than 80 characters.**
```r
    admStructuredData:::adm_worksheet_to_db(database = database, server = server, file_path = file_path, worksheet = worksheet)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:43:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_workbook_to_db.R#L43) *style:* **Lines should not be more than 80 characters.**
```r
    admStructuredData:::adm_archive_file(file_path = file_path, archive = archive)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:45:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_workbook_to_db.R#L45) *style:* **Lines should not be more than 80 characters.**
```r
    message(paste0("'", file_name, "' moved from: '", source, "' to: '", archive, "'\n"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_worksheet_to_db.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_worksheet_to_db} is an internal function that processes an Excel worksheet to be written to a SQL Server database.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:5:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_worksheet_to_db.R#L5) *style:* **Lines should not be more than 80 characters.**
```r
#' @param database \code{string}. The name of the database to write the sheet to.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:7:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_worksheet_to_db.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param file_path \code{string}. The full path of the file containing the worksheet.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:16:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_worksheet_to_db.R#L16) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_worksheet_to_db(database = "DatabaseName", server = "ServerName", file_path = "C:\\Temp\\ExcelFile.xlsx", worksheet = "WorksheetName")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:25:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_worksheet_to_db.R#L25) *style:* **Lines should not be more than 80 characters.**
```r
  database_table_name <- gsub(" ", "_", paste0(tolower(gsub("\\..*", "", file_name)), "_", tolower(worksheet)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:26:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_worksheet_to_db.R#L26) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:30:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_worksheet_to_db.R#L30) *style:* **Lines should not be more than 80 characters.**
```r
    DBI::dbWriteTable(connection, name = database_table_name, value = df, overwrite = TRUE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:31:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_worksheet_to_db.R#L31) *style:* **Lines should not be more than 80 characters.**
```r
    message(paste0("Excel worksheet: '", worksheet, "' successfully written to: '", database_table_name, "'"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/5032a42302ab891b2b32a8cc3af04adeafba1152/R/adm_worksheet_to_db.R#L35) *style:* **Lines should not be more than 80 characters.**
```r
    stop(paste0("Failed to write worksheet: ", worksheet, " to database: '", database, "'\nOriginal error message: ", cond))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


Thanks! :)


Why do we issue a warning here? Is this temporary debug code?


should this be here?


Successfully deployed to following URLs:

* https://perfectiontv-ludfbw2s1.now.sh
* https://perfection.tv
* https://perfectiontv.perfection.now.sh
* https://perfectiontv-git-master.perfection.now.sh


[R/adm_archive_file.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_archive_file.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_archive_file} is an internal function that moves a file from a source directory to an archive directory.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_archive_file.R:13:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_archive_file.R#L13) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_archive_file(file_path = "C:\\Users\\source\\file.xlsx", archive = "C:\\Users\\archive")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_archive_file.R:31:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_archive_file.R#L31) *style:* **Lines should not be more than 80 characters.**
```r
    stop(paste0("Failed to move file from: '", file_path, "' to: '", archive_file_path, "'\nOriginal error message: '", cond, "'"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_archive_file.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_archive_file.R#L35) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/adm_create_connection.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_create_connection.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_create_connection} is an internal function to create and open an ODBC database connection.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_create_connection.R:25:27:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_create_connection.R#L25) *style:* **Put spaces around all infix operators.**
```r
                    Driver="SQL Server",
                         ~^~
```
[R/adm_create_connection.R:26:39:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_create_connection.R#L26) *style:* **Put spaces around all infix operators.**
```r
                    Trusted_Connection="True",
                                     ~^~
```
[R/adm_create_connection.R:27:29:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_create_connection.R#L27) *style:* **Put spaces around all infix operators.**
```r
                    DATABASE=database,
                           ~^~
```
[R/adm_create_connection.R:28:27:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_create_connection.R#L28) *style:* **Put spaces around all infix operators.**
```r
                    SERVER=server)},
                         ~^~
```
[R/adm_create_connection.R:32:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_create_connection.R#L32) *style:* **Lines should not be more than 80 characters.**
```r
      stop(paste0("Failed to create connection to database: '", database, "' on server: '", server, "'\nOriginal error message: '", cond, "'"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_delete_table.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_delete_table} opens an ODBC connection and deletes a specified table.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:14:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_delete_table.R#L14) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_delete_table(database = "DatabaseName", server = "ServerName", table = "TableName")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:19:53:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_delete_table.R#L19) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
adm_delete_table <- function(database, server, table){
                                                    ^~
```
[R/adm_delete_table.R:21:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_delete_table.R#L21) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:27:27:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_delete_table.R#L27) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  }, error = function(cond){
                          ^~
```
[R/adm_delete_table.R:29:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_delete_table.R#L29) *style:* **Lines should not be more than 80 characters.**
```r
    stop(paste0("Failed to delete table: '", table, "' from database: '", database, "' on server: '", server, "'\nOriginal error message: ", cond))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_delete_table.R#L35) *style:* **Lines should not be more than 80 characters.**
```r
  message("Table: '", table, "' successfully deleted from database: '", database, "' on server '", server, "'")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_folder_to_db.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_folder_to_db} uploads all worksheets in all Excel workbooks in a specified location to a specified database. Processed folders are then moved from the source folder to an archive folder.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:7:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_folder_to_db.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param source \code{string}. The path of the directory containing Excel files.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:8:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_folder_to_db.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
#' @param archive \code{string}. The path of the directory to send processed files to.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:15:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_folder_to_db.R#L15) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_folder_to_db(database = "DatabaseName", server = "ServerName\\Instance", file_path = "C:\\Temp\\ExcelFile.xlsx")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:18:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_folder_to_db.R#L18) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_folder_to_db(database = "DatabaseName", server = "ServerName\\Instance", file_path = "C:\\Temp\\ExcelFile.xlsx", archive = "C:\\ArchiveFolder\\")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:31:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_folder_to_db.R#L31) *style:* **Lines should not be more than 80 characters.**
```r
    admStructuredData:::adm_workbook_to_db(database = database, server = server, file_path = file_path, archive = archive)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_files.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_list_files.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_list_files} is an internal function to list files in a source directory.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_tables.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_list_tables.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_list_tables} lists all base tables in a SQL Server database on a specified server.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_tables.R:20:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_list_tables.R#L20) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_tables.R:21:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_list_tables.R#L21) *style:* **Lines should not be more than 80 characters.**
```r
  query_string <- paste0("SELECT TABLE_NAME FROM ", database, ".INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE'")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_read_table.R:14:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_read_table.R#L14) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_read_table(database = "DatabaseName", server = "ServerName", table = "TableName")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_read_table.R:22:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_read_table.R#L22) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_workbook_to_db.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_workbook_to_db} writes all worksheets in an Excel workbook to a SQL Server database.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:8:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_workbook_to_db.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
#' @param archive \code{string}. Optional. The path of the directory to move the processed file to.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:16:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_workbook_to_db.R#L16) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_workbook_to_db(database = "DatabaseName", server = "ServerName\\Instance", file_path = "C:\\Temp\\ExcelFile.xlsx")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:19:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_workbook_to_db.R#L19) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_workbook_to_db(database = "DatabaseName", server = "ServerName\\Instance"file_path = "C:\\Temp\\ExcelFile.xlsx", archive = "C:\\ArchiveFolder\\")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_workbook_to_db.R#L35) *style:* **Lines should not be more than 80 characters.**
```r
    admStructuredData:::adm_worksheet_to_db(database = database, server = server, file_path = file_path, worksheet = worksheet)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:43:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_workbook_to_db.R#L43) *style:* **Lines should not be more than 80 characters.**
```r
    admStructuredData:::adm_archive_file(file_path = file_path, archive = archive)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:45:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_workbook_to_db.R#L45) *style:* **Lines should not be more than 80 characters.**
```r
    message(paste0("'", file_name, "' moved from: '", source, "' to: '", archive, "'\n"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_worksheet_to_db.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_worksheet_to_db} is an internal function that processes an Excel worksheet to be written to a SQL Server database.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:5:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_worksheet_to_db.R#L5) *style:* **Lines should not be more than 80 characters.**
```r
#' @param database \code{string}. The name of the database to write the sheet to.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:7:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_worksheet_to_db.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param file_path \code{string}. The full path of the file containing the worksheet.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:16:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_worksheet_to_db.R#L16) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_worksheet_to_db(database = "DatabaseName", server = "ServerName", file_path = "C:\\Temp\\ExcelFile.xlsx", worksheet = "WorksheetName")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:25:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_worksheet_to_db.R#L25) *style:* **Lines should not be more than 80 characters.**
```r
  database_table_name <- gsub(" ", "_", paste0(tolower(gsub("\\..*", "", file_name)), "_", tolower(worksheet)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:26:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_worksheet_to_db.R#L26) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:30:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_worksheet_to_db.R#L30) *style:* **Lines should not be more than 80 characters.**
```r
    DBI::dbWriteTable(connection, name = database_table_name, value = df, overwrite = TRUE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:31:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_worksheet_to_db.R#L31) *style:* **Lines should not be more than 80 characters.**
```r
    message(paste0("Excel worksheet: '", worksheet, "' successfully written to: '", database_table_name, "'"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/bde3c90be147638aca0b1f0077d181a4899adc53/R/adm_worksheet_to_db.R#L35) *style:* **Lines should not be more than 80 characters.**
```r
    stop(paste0("Failed to write worksheet: ", worksheet, " to database: '", database, "'\nOriginal error message: ", cond))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


Deployment failed with the following error:

~~~
Your `package.json` file is missing a `build` property inside the `script` property.
~~~


[R/ABC_SMC.R:11:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L11) *style:* **Lines should not be more than 80 characters.**
```r
# @param    current                 vector       Current parameter combination for which we are determining the weight
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:12:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L12) *style:* **Lines should not be more than 80 characters.**
```r
# @param    sigma                   scalar       standard deviation of the perturbation
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:13:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L13) *style:* **Lines should not be more than 80 characters.**
```r
# @param    prior_density_function  function     Function to calculate the prior probability of a set of parameters
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:36:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L36) *style:* **Lines should not be more than 80 characters.**
```r
# @brief apply the ABC routine used in our Methods in Ecology and Evolution Paper
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:43:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L43) *style:* **Lines should not be more than 80 characters.**
```r
# @param    statistics                    vector      A vector containing functions that take a tree as an argument and return a single scalar value (the statistic).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:44:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L44) *style:* **Lines should not be more than 80 characters.**
```r
# @param    simulation_function           vector      A function that implements the diversification model and returns an object of class phylo
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:45:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L45) *style:* **Lines should not be more than 80 characters.**
```r
# @param    init_epsilon_values           vector      A vector containing the initial threshold values for the summary statistics from the vector statistics.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:46:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L46) *style:* **Lines should not be more than 80 characters.**
```r
# @param    prior_generating_function     function    Function to generate parameters from the prior distribution of these parameters (e.g. a function returning lambda and mu in case of the birth-death model)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:47:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L47) *style:* **Lines should not be more than 80 characters.**
```r
# @param    prior_density_function        function    Function to calculate the prior probability of a set of parameters (should match prior_generating_function in shape)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:48:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L48) *style:* **Lines should not be more than 80 characters.**
```r
# @param    number_of_particles           scalar      Number of particles to be used per iteration of the ABC-SMC algorithm.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:49:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L49) *style:* **Lines should not be more than 80 characters.**
```r
# @param    sigma                         scalar      Standard deviation of the perturbance distribution (perturbance distribution is a gaussian with mean 0).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:50:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L50) *style:* **Lines should not be more than 80 characters.**
```r
# @param    stop_rate                     scalar      If the acceptance rate drops below \code{stopRate}, stop the ABC-SMC algorithm  and assume convergence.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:51:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L51) *style:* **Lines should not be more than 80 characters.**
```r
# @return                                 matrix      A matrix with n columns, where n is the number of parameters you are trying to estimate.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:75:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L75) *style:* **Lines should not be more than 80 characters.**
```r
#'   from the prior distribution of these parameters (e.g. a function returning lambda and mu in case of the birth-death model)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:126:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L126) *style:* **functions should have cyclomatic complexity of less than 15, this has 42.**
```r
abc_smc_nltt <- function(tree,
^
```
[R/ABC_SMC.R:276:13:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L276) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
        if ( (number_accepted / tried) < stop_rate) {
            ^
```
[R/ABC_SMC.R:301:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L301) *style:* **Lines should not be more than 80 characters.**
```r
# @brief Estimate the likelihood of a given tree, provided a likelihood function, using a Monte Carlo Markov Chain
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:308:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L308) *style:* **Lines should not be more than 80 characters.**
```r
# @param    likelihood_function   function    Function that calculates the likelihood of our diversification model, given the tree.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:309:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L309) *style:* **Lines should not be more than 80 characters.**
```r
#                                             function should be of the format function(parameters, phy).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:310:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L310) *style:* **Lines should not be more than 80 characters.**
```r
# @param    parameters            vector      Initial parameters to start the chain.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:311:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L311) *style:* **Lines should not be more than 80 characters.**
```r
# @param    logtransforms         scalar      Whether to perform jumps on logtransformed parameters (TRUE) or not (FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:313:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L313) *style:* **Lines should not be more than 80 characters.**
```r
# @param    burnin                scalar      Length of the burnin, default is 30% of iterations
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:315:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L315) *style:* **Lines should not be more than 80 characters.**
```r
# @param    sigma                 scalar      Standard deviation of the jumping distribution, which is N(0, sigma).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:316:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L316) *style:* **Lines should not be more than 80 characters.**
```r
# @return                         mcmc        An MCMC object, as used by the package "coda".
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/ABC_SMC.R:320:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/ABC_SMC.R#L320) *style:* **functions should have cyclomatic complexity of less than 15, this has 34.**
```r
mcmc_nltt <- function(phy, likelihood_function,
^
```
[R/get_average_nltt_matrix.R:14:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/get_average_nltt_matrix.R#L14) *style:* **functions should have cyclomatic complexity of less than 15, this has 16.**
```r
get_average_nltt_matrix <- function(
^
```
[R/get_n_lineages.R:17:12:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/get_n_lineages.R#L17) *warning:* **Avoid 1:length(...) expressions, use seq_len.**
```r
    return(1:length(phylogeny$tip.label))
           ^
```
[R/nltt_diff_exact_notnorm.R:25:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltt_diff_exact_notnorm.R#L25) *style:* **functions should have cyclomatic complexity of less than 15, this has 22.**
```r
nltt_diff_exact_notnorm <- function(
^
```
[R/nltt_diff_exact_notnorm.R:47:27:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltt_diff_exact_notnorm.R#L47) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  if (time_unit == "since"){
                          ^~
```
[R/nltt_diff_exact_notnorm.R:54:25:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltt_diff_exact_notnorm.R#L54) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  if (time_unit == "ago"){
                        ^~
```
[R/nltt_diff_exact_notnorm.R:116:5:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltt_diff_exact_notnorm.R#L116) *style:* **Commented code should be removed.**
```r
  # testit::assert(event_times[1] >= 0.0)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nltt_diff_exact_notnorm.R:117:5:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltt_diff_exact_notnorm.R#L117) *style:* **Commented code should be removed.**
```r
  # testit::assert(species_number[1] >= 0.0)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nltt_diff_exact_notnorm.R:118:5:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltt_diff_exact_notnorm.R#L118) *style:* **Commented code should be removed.**
```r
  # testit::assert(event_times2[1] >= 0.0)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nltt_diff_exact_notnorm.R:119:5:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltt_diff_exact_notnorm.R#L119) *style:* **Commented code should be removed.**
```r
  # testit::assert(species_number[1] >= 0.0)
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nltt_diff_exact_notnorm.R:121:5:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltt_diff_exact_notnorm.R#L121) *style:* **Commented code should be removed.**
```r
  # testit::assert(all(event_times >= 0.0 & event_times <= 1.0))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nltt_diff_exact_notnorm.R:122:5:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltt_diff_exact_notnorm.R#L122) *style:* **Commented code should be removed.**
```r
  # testit::assert(all(species_number >= 0.0 & species_number <= 1.0))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nltt_diff_exact_notnorm.R:123:5:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltt_diff_exact_notnorm.R#L123) *style:* **Commented code should be removed.**
```r
  # testit::assert(all(event_times2 >= 0.0 & event_times2 <= 1.0))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nltt_diff_exact_notnorm.R:124:5:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltt_diff_exact_notnorm.R#L124) *style:* **Commented code should be removed.**
```r
  # testit::assert(all(species_number >= 0.0 & species_number <= 1.0))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nLTTDiff.R:59:27:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nLTTDiff.R#L59) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  if (time_unit == "since"){
                          ^~
```
[R/nLTTDiff.R:66:25:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nLTTDiff.R#L66) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  if (time_unit == "ago"){
                        ^~
```
[R/nLTTDiff.R:186:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nLTTDiff.R#L186) *style:* **Lines should not be more than 80 characters.**
```r
#' Calculates the exact difference between the lineage through time curves of tree1 & tree2 (normalized in time and for the number of lineages)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nLTTDiff.R:274:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nLTTDiff.R#L274) *style:* **Lines should not be more than 80 characters.**
```r
# @param    distance_method        string     Method to calculate the difference, either absolute, or squared
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nLTTDiff.R:275:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nLTTDiff.R#L275) *style:* **Lines should not be more than 80 characters.**
```r
# @return                          scalar     normalized Lineage-Through-Time difference between tree1 & tree2
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nLTTDiff.R:283:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nLTTDiff.R#L283) *style:* **Lines should not be more than 80 characters.**
```r
#' @usage nLTTstat(tree1, tree2, distance_method = "abs", ignore_stem = TRUE, log_transform = FALSE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nLTTDiff.R:344:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nLTTDiff.R#L344) *style:* **Lines should not be more than 80 characters.**
```r
# @param    distance_method        string     Method to calculate the difference, either absolute, or squared
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nLTTDiff.R:345:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nLTTDiff.R#L345) *style:* **Lines should not be more than 80 characters.**
```r
# @param    ignore_stem            logical    Should the phylogeny its stem be ignored?
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nLTTDiff.R:346:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nLTTDiff.R#L346) *style:* **Lines should not be more than 80 characters.**
```r
# @return                          scalar     normalized Lineage-Through-Time difference between tree1 & tree2
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/nltts_plot.R:19:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/nltts_plot.R#L19) *style:* **functions should have cyclomatic complexity of less than 15, this has 17.**
```r
nltts_plot <- function(
^
```
[R/plot_nLTT.R:36:23:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/plot_nLTT.R#L36) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
nltt_plot <- function( phy, xlab = "Normalized Time",
                      ^
```
[R/plot_nLTT.R:51:28:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/plot_nLTT.R#L51) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  xy[, 1] <- xy[, 1] + abs( min( xy[, 1])) #make sure time runs from 0..T
                           ^
```
[R/plot_nLTT.R:51:33:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/plot_nLTT.R#L51) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  xy[, 1] <- xy[, 1] + abs( min( xy[, 1])) #make sure time runs from 0..T
                                ^
```
[R/plot_nLTT.R:52:28:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/plot_nLTT.R#L52) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  xy[, 1] <- xy[, 1] / max( xy[, 1])      #normalize time
                           ^
```
[R/plot_nLTT.R:94:32:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/plot_nLTT.R#L94) *style:* **Do not place spaces around code in parentheses or square brackets.**
```r
  xy[, 1] <- xy[, 1] + abs(min( xy[, 1])) #make sure time runs from 0..T
                               ^
```
[R/stretch_nltt_matrix.R:22:1:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/R/stretch_nltt_matrix.R#L22) *style:* **functions should have cyclomatic complexity of less than 15, this has 16.**
```r
stretch_nltt_matrix <- function(
^
```
[tests/testthat/test-abc_smc_nltt.R:30:5:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/tests/testthat/test-abc_smc_nltt.R#L30) *style:* **Commented code should be removed.**
```r
  # suppressWarnings(RNGversion("3.5.0"))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-abc_smc_nltt.R:35:3:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/tests/testthat/test-abc_smc_nltt.R#L35) *style:* **Variable and function name style should be snake_case.**
```r
  LL_BD <- function(params, phy) {
  ^~~~~
```
[tests/testthat/test-abc_smc_nltt.R:49:3:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/tests/testthat/test-abc_smc_nltt.R#L49) *style:* **Variable and function name style should be snake_case.**
```r
  ML <- stats::optimize(f = tofit, interval = c(0, 1))
  ^~
```
[tests/testthat/test-abc_smc_nltt.R:55:3:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/tests/testthat/test-abc_smc_nltt.R#L55) *style:* **Variable and function name style should be snake_case.**
```r
  A <- abc_smc_nltt(
  ^
```
[tests/testthat/test-get_average_nltt.R:10:5:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/tests/testthat/test-get_average_nltt.R#L10) *style:* **Commented code should be removed.**
```r
  # suppressWarnings(RNGversion("3.5.0"))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-get_average_nltt.R:41:5:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/tests/testthat/test-get_average_nltt.R#L41) *style:* **Commented code should be removed.**
```r
  # suppressWarnings(RNGversion("3.5.0"))
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[tests/testthat/test-mcmc_nltt.R:14:3:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/tests/testthat/test-mcmc_nltt.R#L14) *style:* **Variable and function name style should be snake_case.**
```r
  LL_BD <- function(params, phy) {
  ^~~~~
```
[tests/testthat/test-mcmc_nltt.R:31:3:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/tests/testthat/test-mcmc_nltt.R#L31) *style:* **Variable and function name style should be snake_case.**
```r
  ML <- optim(par = c(1, 0.001), fn = tofit)
  ^~
```
[tests/testthat/test-mcmc_nltt.R:58:3:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/tests/testthat/test-mcmc_nltt.R#L58) *style:* **Variable and function name style should be snake_case.**
```r
  LL_BD <- function(params, phy) {
  ^~~~~
```
[tests/testthat/test-nltt_diff_exact_notnorm.R:29:16:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/tests/testthat/test-nltt_diff_exact_notnorm.R#L29) *warning:* **Avoid 1:length(...) expressions, use seq_len.**
```r
  lineages1 <- 1:length(event_times)
               ^
```
[tests/testthat/test-nltt_diff_exact_notnorm.R:30:16:](https://github.com/Neves-P/nLTT/blob/1cb2bd5a7e12a03a34c0220c5d49e188430ebc2c/tests/testthat/test-nltt_diff_exact_notnorm.R#L30) *warning:* **Avoid 1:length(...) expressions, use seq_len.**
```r
  lineages2 <- 1:length(event_times2)
               ^
```


[R/adm_archive_file.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_archive_file.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_archive_file} is an internal function that moves a file from a source directory to an archive directory.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_archive_file.R:13:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_archive_file.R#L13) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_archive_file(file_path = "C:\\Users\\source\\file.xlsx", archive = "C:\\Users\\archive")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_archive_file.R:31:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_archive_file.R#L31) *style:* **Lines should not be more than 80 characters.**
```r
    stop(paste0("Failed to move file from: '", file_path, "' to: '", archive_file_path, "'\nOriginal error message: '", cond, "'"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_archive_file.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_archive_file.R#L35) *style:* **Trailing blank lines are superfluous.**
```r

^
```
[R/adm_create_connection.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_create_connection.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_create_connection} is an internal function to create and open an ODBC database connection.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_create_connection.R:25:27:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_create_connection.R#L25) *style:* **Put spaces around all infix operators.**
```r
                    Driver="SQL Server",
                         ~^~
```
[R/adm_create_connection.R:26:39:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_create_connection.R#L26) *style:* **Put spaces around all infix operators.**
```r
                    Trusted_Connection="True",
                                     ~^~
```
[R/adm_create_connection.R:27:29:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_create_connection.R#L27) *style:* **Put spaces around all infix operators.**
```r
                    DATABASE=database,
                           ~^~
```
[R/adm_create_connection.R:28:27:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_create_connection.R#L28) *style:* **Put spaces around all infix operators.**
```r
                    SERVER=server)},
                         ~^~
```
[R/adm_create_connection.R:32:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_create_connection.R#L32) *style:* **Lines should not be more than 80 characters.**
```r
      stop(paste0("Failed to create connection to database: '", database, "' on server: '", server, "'\nOriginal error message: '", cond, "'"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_delete_table.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_delete_table} opens an ODBC connection and deletes a specified table.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:14:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_delete_table.R#L14) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_delete_table(database = "DatabaseName", server = "ServerName", table = "TableName")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:19:53:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_delete_table.R#L19) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
adm_delete_table <- function(database, server, table){
                                                    ^~
```
[R/adm_delete_table.R:21:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_delete_table.R#L21) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:27:27:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_delete_table.R#L27) *style:* **There should be a space between right parenthesis and an opening curly brace.**
```r
  }, error = function(cond){
                          ^~
```
[R/adm_delete_table.R:29:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_delete_table.R#L29) *style:* **Lines should not be more than 80 characters.**
```r
    stop(paste0("Failed to delete table: '", table, "' from database: '", database, "' on server: '", server, "'\nOriginal error message: ", cond))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_delete_table.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_delete_table.R#L35) *style:* **Lines should not be more than 80 characters.**
```r
  message("Table: '", table, "' successfully deleted from database: '", database, "' on server '", server, "'")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_folder_to_db.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_folder_to_db} uploads all worksheets in all Excel workbooks in a specified location to a specified database. Processed folders are then moved from the source folder to an archive folder.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:7:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_folder_to_db.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param source \code{string}. The path of the directory containing Excel files.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:8:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_folder_to_db.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
#' @param archive \code{string}. The path of the directory to send processed files to.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:15:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_folder_to_db.R#L15) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_folder_to_db(database = "DatabaseName", server = "ServerName\\Instance", file_path = "C:\\Temp\\ExcelFile.xlsx")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:18:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_folder_to_db.R#L18) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_folder_to_db(database = "DatabaseName", server = "ServerName\\Instance", file_path = "C:\\Temp\\ExcelFile.xlsx", archive = "C:\\ArchiveFolder\\")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_folder_to_db.R:31:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_folder_to_db.R#L31) *style:* **Lines should not be more than 80 characters.**
```r
    admStructuredData:::adm_workbook_to_db(database = database, server = server, file_path = file_path, archive = archive)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_files.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_list_files.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_list_files} is an internal function to list files in a source directory.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_tables.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_list_tables.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_list_tables} lists all base tables in a SQL Server database on a specified server.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_tables.R:20:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_list_tables.R#L20) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_list_tables.R:21:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_list_tables.R#L21) *style:* **Lines should not be more than 80 characters.**
```r
  query_string <- paste0("SELECT TABLE_NAME FROM ", database, ".INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE='BASE TABLE'")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_read_table.R:14:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_read_table.R#L14) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_read_table(database = "DatabaseName", server = "ServerName", table = "TableName")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_read_table.R:22:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_read_table.R#L22) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_workbook_to_db.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_workbook_to_db} writes all worksheets in an Excel workbook to a SQL Server database.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:8:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_workbook_to_db.R#L8) *style:* **Lines should not be more than 80 characters.**
```r
#' @param archive \code{string}. Optional. The path of the directory to move the processed file to.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:16:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_workbook_to_db.R#L16) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_workbook_to_db(database = "DatabaseName", server = "ServerName\\Instance", file_path = "C:\\Temp\\ExcelFile.xlsx")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:19:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_workbook_to_db.R#L19) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_workbook_to_db(database = "DatabaseName", server = "ServerName\\Instance"file_path = "C:\\Temp\\ExcelFile.xlsx", archive = "C:\\ArchiveFolder\\")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_workbook_to_db.R#L35) *style:* **Lines should not be more than 80 characters.**
```r
    admStructuredData:::adm_worksheet_to_db(database = database, server = server, file_path = file_path, worksheet = worksheet)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:43:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_workbook_to_db.R#L43) *style:* **Lines should not be more than 80 characters.**
```r
    admStructuredData:::adm_archive_file(file_path = file_path, archive = archive)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_workbook_to_db.R:45:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_workbook_to_db.R#L45) *style:* **Lines should not be more than 80 characters.**
```r
    message(paste0("'", file_name, "' moved from: '", source, "' to: '", archive, "'\n"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:3:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_worksheet_to_db.R#L3) *style:* **Lines should not be more than 80 characters.**
```r
#' \code{adm_worksheet_to_db} is an internal function that processes an Excel worksheet to be written to a SQL Server database.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:5:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_worksheet_to_db.R#L5) *style:* **Lines should not be more than 80 characters.**
```r
#' @param database \code{string}. The name of the database to write the sheet to.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:7:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_worksheet_to_db.R#L7) *style:* **Lines should not be more than 80 characters.**
```r
#' @param file_path \code{string}. The full path of the file containing the worksheet.
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:16:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_worksheet_to_db.R#L16) *style:* **Lines should not be more than 80 characters.**
```r
#' adm_worksheet_to_db(database = "DatabaseName", server = "ServerName", file_path = "C:\\Temp\\ExcelFile.xlsx", worksheet = "WorksheetName")
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:25:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_worksheet_to_db.R#L25) *style:* **Lines should not be more than 80 characters.**
```r
  database_table_name <- gsub(" ", "_", paste0(tolower(gsub("\\..*", "", file_name)), "_", tolower(worksheet)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:26:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_worksheet_to_db.R#L26) *style:* **Lines should not be more than 80 characters.**
```r
  connection <- admStructuredData:::adm_create_connection(database = database, server = server)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:30:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_worksheet_to_db.R#L30) *style:* **Lines should not be more than 80 characters.**
```r
    DBI::dbWriteTable(connection, name = database_table_name, value = df, overwrite = TRUE)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:31:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_worksheet_to_db.R#L31) *style:* **Lines should not be more than 80 characters.**
```r
    message(paste0("Excel worksheet: '", worksheet, "' successfully written to: '", database_table_name, "'"))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
[R/adm_worksheet_to_db.R:35:1:](https://github.com/thomascrines/admStructuredData/blob/0216ee3ef1b1bf8fdec72b846cfaacb6983f8e08/R/adm_worksheet_to_db.R#L35) *style:* **Lines should not be more than 80 characters.**
```r
    stop(paste0("Failed to write worksheet: ", worksheet, " to database: '", database, "'\nOriginal error message: ", cond))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```


Successfully deployed to following URLs:

* https://oglinks-3wid8istz.now.sh
* https://oglinks-perfect-crested-penguin.now.sh
* https://oglinks.ponomarevlad.now.sh
* https://oglinks-git-master.ponomarevlad.now.sh


This isn't a "new" usage of `config.param`, just had moved it into a new method then moved it back.

If you want us to look into removing these, write up an issue please :D


Interfaces don't really exist in C++, A stood for "Abstract"


168195503_Issue7477 (Unknown) - x86_64-MacOS-10.13-clang: OK (2569 of 2580 tests passed, 0 test warnings)

Messages:\n
 * 10 tests had: EIO diffs.
 * 10 tests had: Table big diffs.
 * 5 tests had: AUD diffs.

Failures:\n

EnergyPlusFixture Test Summary
 * Passed: 834
 * Failed: 1

regression Test Summary
 * Passed: 659
 * Failed: 10

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-99.57%25-yellow.png)


Closes #12


The index and about us pages with up to date changes


168195503_Issue7477 (Unknown) - Win64-Windows-10-VisualStudio-16: OK (2570 of 2580 tests passed, 0 test warnings)

Messages:\n
 * 10 tests had: EIO diffs.
 * 10 tests had: Table big diffs.
 * 5 tests had: AUD diffs.

Failures:\n

regression Test Summary
 * Passed: 659
 * Failed: 10

![Build Badge](http://img.shields.io/badge/build%20status-passing-green.png) ![Test Badge](http://img.shields.io/badge/tests%20passed-99.61%25-yellow.png)