if (interactive()) {
set_qbms_config("https://bms.icarda.org/ibpworkbench")
login_bms() # Log in to the server
set_crop("wheat") # Set crop
set_program("Wheat International Nurseries") # Set breeding program
list_trials() # List trials
list_trials(2022) # List trials starting in 2022
}
Run the code above in your browser using DataLab