Point an MSdev object at a new project directory
MSdev_relocate.RdRewrite absolute paths that sit under the saved
projectDir so they sit under projectDir. Sample files,
onDiskData locations, Spectra dataOrigin / dataStorage,
and xcms experiment file paths are updated. Files are not moved; the
project tree is assumed to already be at the new location.
rawDataDir overrides the raw-data directory when it is not inside
the project directory. compoundDb sets
projectInfo$CompoundDB_path without prefix replacement.
After rewriting, projectInfo$paths holds paths relative to
projectDir.