- Add the load_verbose argument to the load_pkgs function and improve the warning message when multiloadr is unable to switch or pull the targeted branch.
- Add color utilities for messages for consistency.
- Improve message when a package is not added to multiloadr.
- Created four main functions: add_pkgs, list_pkgs, load_pkgs, and reset_multiloadr. These functions provide a simple interface for managing multiloadr packages.
- Added branch_name and git_pull arguments to the load_pkgs function. These arguments allow the user to specify a specific git branch to load packages from, and to pull the latest changes from the repository before loading the packages.
- Enhance add_pkgs to check if the path is an R package directory before adding to multiloadr.
- Enhance load_pkgs to check if the directory has a remote URL when git_pull = TRUE
- Add from_commit argument to load package from specific commit
- Check both remote and local branch when branch_name is provided
- Update logic when checking if branch exists remotely and locally