Learn R Programming

multideploy (version 0.1.0)

print.file_deploy_result: Print method for "file_deploy_result" objects

Description

This method provides a formatted summary of file deployment results, showing counts by status and details for any errors encountered.

Usage

# S3 method for file_deploy_result
print(x, ...)

Value

Invisibly returns the original input data frame unchanged.

Displays a formatted summary of deployment results to the console.

Arguments

x

An object of class "file_deploy_result" as returned by file_deploy()

...

Additional arguments passed to other print methods (not used)

Examples

Run this code
if (FALSE) { # interactive()
# Get list of repositories
repositories <- repos("my-organization")

# Deploy files
results <- file_deploy("local/file.R", "remote/file.R", repositories)

# Explicitly print the summary
print(results)
}

Run the code above in your browser using DataLab