Learn R Programming

dmdScheme (version 1.3.5)

upgrade_old_files: Convert older scheme versions of files to newer newer versions

Description

Only the newest versions of xlsx and xml files can be processed by this package. To gurantee, this function provides a mechanism to convert older versions of xlsx and xml files to newer versions.

Usage

upgrade_old_files(file, to = scheme_active()$version)

Value

if a conversion has been done, file name of upgraded spreadsheet (BASENAME(x).to.EXTENSION(x) where x is the original file name and to is the new version), otherwise NULL.

Arguments

file

file name of xlsx or of xml file containing scheme metadata or structure

to

version to upgrade to. Any version supported is possible, downgrade is not supported.

Examples

Run this code
if (FALSE) {
upgrade("dmdScheme.xlsx")
upgrade("dmdScheme.xml")
}

Run the code above in your browser using DataLab