# \dontshow{
# Restrict threads for CRAN compliance
dt_threads <- data.table::getDTthreads()
data.table::setDTthreads(1)
# }
# Write the 'fiaRI' object to a temporary directory
# Replace temp_dir with the path to your directory (where data will be saved)
temp_dir = tempdir()
writeFIA(fiaRI, dir = temp_dir)
# \dontshow{
# Restore thread setting
data.table::setDTthreads(dt_threads)
# }
Run the code above in your browser using DataLab