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

View source: R/upgrade_old_files.R

upgrade_old_filesR Documentation

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)

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.

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.

Examples

## Not run: 
upgrade("dmdScheme.xlsx")
upgrade("dmdScheme.xml")

## End(Not run)

dmdScheme documentation built on Aug. 22, 2022, 9:06 a.m.