# NOT RUN {
# get all available Idd version
avail_idd()
# check if specific version of Idd is available
is_avail_idd(8.5)
# download latest IDD file from EnergyPlus GitHub repo
download_idd("latest", tempdir())
# use specific version of Idd
# only works if EnergyPlus v8.8 has been found or Idd v8.8 exists
use_idd(8.8)
# If Idd object is currently not avail_idd, automatically download IDD file
# from EnergyPlus GitHub repo and parse it
use_idd(8.8, download = "auto")
# now Idd v8.8 should be available
is_avail_idd(8.8)
# get specific version of parsed Idd object
use_idd(8.8)
avail_idd() # should contain "8.8.0"
# }
Run the code above in your browser using DataLab