ASM_fetch_dlfn {formods}R Documentation

Fetch Download File Name

Description

Gets either the file name specified by the user or the default value if that is null

Usage

ASM_fetch_dlfn(state, extension = ".zip")

Arguments

state

ASM state from ASM_fetch_state()

extension

File extension for the download (default: ".zip")

Value

character object with the download file name

Examples

# Creating a state object for testing
sess_res = ASM_test_mksession(session=list(), full_session=FALSE)
state = sess_res$state
dlfn = ASM_fetch_dlfn(state)
dlfn

[Package formods version 0.1.6 Index]