make_xml_path_mine: Make the user name in the path of observed data overlay XML...

View source: R/make_xml_path_mine.R

make_xml_path_mineR Documentation

Make the user name in the path of observed data overlay XML files and fixed trial design XML files match that of the current user

Description

Have you ever wanted to run a bunch of simulations that someone else set up but had to open each individual workspace just to change the path for the observed data? make_xml_path_mine changes the path of any XML files in simulation workspaces – observed data overlay files and fixed trial design files – to whatever path would work for the current user to then run those files.

Usage

make_xml_path_mine(sim_workspace_files = NA)

Arguments

sim_workspace_files

the set of workspace files to modify; must end in ".wksz" if you're specifying individual files. Leave as NA to change all the workspaces in the current folder or set to "recursive" to change all the workspaces in the current folder and all the subfolders below it. BE CAREFUL. This function changes workspaces, so please be certain you're making changes you definitely want.

Value

saves workspace files

Examples

## Not run: 
make_xml_path_mine()

## End(Not run)



shirewoman2/Consultancy documentation built on Feb. 18, 2025, 10 p.m.