Learn R Programming

FlywayNet (version 0.1.0)

write_migration: Write a migration structure in a text file.

Description

Write a migration structure in a text file. If file exists, just print a warning and erase file.

Usage

write_migration(migr, file_name)

Arguments

migr

A migration structure.

file_name

A file name.

Value

No returned value.

Examples

Run this code
# NOT RUN {
migr <- generate_toy_migration()
write_migration( migr, "toy_migration.txt" )
unlink("toy_migration.txt") # delete the file to pass package check
# }

Run the code above in your browser using DataLab