check_file: Reads the head and tail of specified file and prints it the...

Description Usage Arguments

View source: R/read-output.R

Description

Reads the head and tail of specified file and prints it the console and/or returns it as a character vector.

S3 generic for tailing the OUTPUT file

S3 dispatch for tailing the OUTPUT file

S3 dispatch for tailing the OUTPUT file

S3 generic for tailing the lst file

S3 dispatch for tailing the lst file

S3 dispatch for tailing the lst file

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
check_file(.file, .head = 3, .tail = 5, .print = TRUE, .return = FALSE)

tail_output(.mod, ...)

## S3 method for class 'character'
tail_output(.mod, .head = 3, .tail = 5, .print = TRUE, .return = FALSE, ...)

## S3 method for class 'bbi_nonmem_model'
tail_output(.mod, .head = 3, .tail = 5, .print = TRUE, .return = FALSE, ...)

tail_lst(.mod, ...)

## S3 method for class 'character'
tail_lst(.mod, .head = 3, .tail = 5, .print = TRUE, .return = FALSE, ...)

## S3 method for class 'bbi_nonmem_model'
tail_lst(.mod, .head = 3, .tail = 5, .print = TRUE, .return = FALSE, ...)

Arguments

.file

Character scaler of path to file to read

.head

Integer for number of lines to read from the top of the file

.tail

Integer for number of lines to read from the bottom of the file

.print

Boolean for whether to print resulting head and tail to console. Defaults to TRUE.

.return

Boolean for whether to return resulting head and tail as a character vector. Defaults to FALSE.

.mod

bbi_nonmem_model object

...

args passed through


metrumresearchgroup/mrgvalidatetestreference documentation built on Aug. 15, 2021, 8:13 a.m.