Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove {scales} from Suggests #288

Merged
merged 7 commits into from
Aug 28, 2023
Merged

Remove {scales} from Suggests #288

merged 7 commits into from
Aug 28, 2023

Conversation

brownag
Copy link
Member

@brownag brownag commented Apr 28, 2023

Currently we need {scales} in suggests for examples that use aqp::plotSPC()

In this PR ncss-tech/aqp#280 I addressed several issues related to suggested aqp packages. For scales, an optional branch in the code was added to plotSPC() such that when the scales namespace is not available a base R alternate is used. I believe this alternate is a complete replacement for the scales usage in plotSPC(), but it has not been extensively tested outside our standard CI.

When aqp 2.0 is released we can likely safely drop the {scales} dependency in soilDB. No code in soilDB package uses scales, but it is required to conditionally allows examples to run (preventing error from plotSPC() when scales is not available)

@brownag brownag marked this pull request as ready for review August 28, 2023 23:45
@brownag brownag merged commit afe04e6 into master Aug 28, 2023
@brownag brownag deleted the noscales branch August 28, 2023 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant