Replace loggr with logger for CRAN-compatible logging#41
Merged
Conversation
Mirrors the change in traitecoevo/plant#276 — replaces the unmaintained loggr dependency with the CRAN-available logger package. - Rewrites R/logging.R to use logger::log_info/log_debug - Adds crayon to Imports for routine label colouring - Removes smbache/loggr from Remotes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Temporary: pin to traitecoevo/plant@replace-loggr-with-logger so CI can resolve dependencies without the old smbache/loggr Remote. Revert to traitecoevo/plant once plant#544 merges. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Member
Author
|
Note: the Remotes currently pins |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
traitecoevo/plant#545 merged into develop; switch from the PR branch to develop so we pick up the released change. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
loggrdependency withlogger(CRAN)R/logging.Rto uselogger::log_info/logger::log_debugwith the "plant" namespacecrayonto Imports (already inplant, used here for routine label colouring)smbache/loggrfrom RemotesAll existing wrapper functions (
plant_log_assembler,plant_log_births, etc.) are unchanged in behaviour.Test plan
plant(Replace loggr with logger for CRAN-compatible logging plant#544) then loadregnansplant_log_console()activates logging for both packages🤖 Generated with Claude Code