Improve error messaging when using basic_tty
Various improvements to reporters and minor display tweaks
Make is possible to construct reporter environments with additional values to better control their behavior.
Add checks_only parameter to
reporter_basic_tty which if set to TRUE will make the
reporter broadcast only check tasks instead of both install and
check.
Address changes related to default parameters changes in
callr and resulting NULL comparison in checked
(@gaborcsardi,
#93)
Multiple API changes facilitating additional customization for tasks.
Ensure packages destined into isolated libraries or those coming from non-standard sources are always installed.
Redesign logs by grouping them into package specific directories.
Add timers striping to strip_details_from_issue() to
avoid false-positives.
Remove pkg_origin_is_base() helper function and use
memoised base_pkgs().
Update RE_CHECK to capture even more edge cases
while parsing R CMD check output.
Finish check process even if checks seem incomplete but 3 or mire minutes have passed since the process ended to avoid infinite loops.
Further improvements to the check process finisher.
Make graph_dedup_attrs rebuild the graph from
scratch with deduplicated attributes rather than manipulating the
exiting graph. I significantly speeds up the function.
Export STATUS vector to make external statuses analysis easier.
Allow obtaining partial results for uncompleted checks.
Export results_to_df() and make it a
generic.
Fix check processes hanging forever in some system configurations.
Remove all whitespaces ("[[:space:]]") before
comparing potential issues to skip most of the false positives.
Shortened many user-facing function names. In general, uses of
reverse were shortened to rev,
dependencies was shortened to deps,
development was shortened to dev and
package was shortened to pkg. For example,
check_reverse_dependencies_development() was shortened to
check_dev_rev_deps() (@dgkf-roche)
Fix names in the enum function for R lower than
4.3.
Add tests for the reverse dependency check use case.
Make install_process capture session’s
available_packages_filters and reuse them when installing
packages to ensure consistency with the main session filtering.
Prettify output by stripping excessive new lines.
Force garbage collection before scheduling task, to make sure any already finished processes are removed from the memory.
Use custom checked finisher’s instead
of the processx finalizer’s when cleaning up
finished processes to avoid executing callbacks when objects are garbage
collected.
In rev_dep_check_tasks_df add custom package value
for each check associated with the release version of the package to
make sure, the current release version of the package is always fetched
and installed.
Prevent results from attempting to read results for
unfinished checks.
Clear some of the unused utils functions
(can_symlink, symlink_or_copy).
Make sure output directory is always created.
results_to_file function.Change default private lib.loc value in
check_process R6 class to NULL to avoid staged installation
failures.
Terminate all the subprocesses if the run function
is interrupted to comply with CRAN requirements.
Reorganize methods in the check_design making some
of the private.
Remove warning about possible problems with isolation.
Rename development_only parameter to
versions in the
rev_dep_check_tasks_df
Make sure check_reverse_dependencies works when
package is not available in the remote sources or has no reverse
dependencies.
Add keep parameters to the the
print.checked_results_check_task_spec.
Add error_on parameters to the the
results.check_design.
Add $get_r_exit_status() method to both check and
install processes.
Add warnings to the reporter whenever sub-processes have non-zero exit status.
Fix race condition when reporting progress for check processes.