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

Lints + add tests + fix R CMD CHECK #798

Merged
merged 4 commits into from
Oct 25, 2023
Merged

Conversation

olivroy
Copy link
Contributor

@olivroy olivroy commented Oct 21, 2023

Add some tests for the latest issues that were solved.

FIx some R CMD CHECK warnings

Use latest testthat for snapshots.

Use isFALSE() over identical(x, FALSE)`.

Skip test that is failing. (many titles still do not work)

@olivroy olivroy changed the title Cleanup Lints + add tests + fix R CMD CHECK Oct 21, 2023
@@ -23,3 +23,12 @@ utils::globalVariables(c(
"t2", "t3", "t4", "text.fontface", "text.fontfamily", "title.bg.alpha",
"tmapID__", "vneutral"
))

# Add more to silence R CMD CHECK (see if some are false positive)
utils::globalVariables(c(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't aes from ggplot2?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was flagged by R CMD CHECK in step1_helper_facets.R

value = tmapVars(getAesOption("value.blank", o, aes = aes, layer = layer))

@mtennekes mtennekes merged commit b05b6dd into r-tmap:master Oct 25, 2023
5 checks passed
@mtennekes
Copy link
Member

Thx!

@olivroy olivroy deleted the cleanup branch November 8, 2023 02:42
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.

3 participants