这是indexloc提供的服务,不要输入任何密码
Skip to content

explicit arguments in qtm function #1093

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

Merged
merged 2 commits into from
Apr 26, 2025
Merged

Conversation

ar-puuk
Copy link
Contributor

@ar-puuk ar-puuk commented Apr 25, 2025

Partially resolves #1063. Only fixes qtm().

@ar-puuk
Copy link
Contributor Author

ar-puuk commented Apr 25, 2025

@mtennekes, all of the failed checks are regarding the code/documentation mismatches (please see below). Would you be able to fix this, or should I do something on my end?

❯ checking for code/documentation mismatches ... WARNING
  Codoc mismatches from Rd file 'qtm.Rd':
  qtm
    Code: function(shp = NULL, fill = tmap::tm_const(), col =
                   tmap::tm_const(), size = tmap::tm_const(), shape =
                   tmap::tm_const(), lwd = tmap::tm_const(), lty =
                   tmap::tm_const(), fill_alpha = tmap::tm_const(),
                   col_alpha = tmap::tm_const(), text = tmap::tm_const(),
                   text_col = tmap::tm_const(), text_size =
                   tmap::tm_const(), by = NULL, scale = NULL, title =
                   NULL, crs = NULL, bbox = NULL, basemaps = NA, overlays
                   = NA, zindex = NA, group = NA, group.control =
                   "check", style = NULL, format = NULL, ...)
    Docs: function(shp = NULL, fill = tm_const(), col = tm_const(), size
                   = tm_const(), shape = tm_const(), lwd = tm_const(),
                   lty = tm_const(), fill_alpha = tm_const(), col_alpha =
                   tm_const(), text = tm_const(), text_col = tm_const(),
                   text_size = tm_const(), by = NULL, scale = NULL, title
                   = NULL, crs = NULL, bbox = NULL, basemaps = NA,
                   overlays = NA, zindex = NA, group = NA, group.control
                   = "check", style = NULL, format = NULL, ...)
    Mismatches in argument default values (first 3):
      Name: 'fill' Code: tmap::tm_const() Docs: tm_const()
      Name: 'col' Code: tmap::tm_const() Docs: tm_const()
      Name: 'size' Code: tmap::tm_const() Docs: tm_const()

0 errors ✔ | 1 warning ✖ | 0 notes ✔
Error: Error: R CMD check found WARNINGs
Execution halted
Error: Process completed with exit code 1.

@olivroy
Copy link
Contributor

olivroy commented Apr 25, 2025

you can run devtools::document() to fix that!

- Updated documentation to fix the failed checks that failed the first time.
@ar-puuk
Copy link
Contributor Author

ar-puuk commented Apr 25, 2025

That seems to fix the issue. Thanks, @olivroy!

@mtennekes mtennekes merged commit 553f66f into r-tmap:master Apr 26, 2025
9 checks passed
@mtennekes
Copy link
Member

Thx @ar-puuk What email address of yours can I put in the contributors list?

@ar-puuk
Copy link
Contributor Author

ar-puuk commented Apr 26, 2025

Thanks a lot, @mtennekes. Please use pukar.bhandari@outlook.com. Much appreciated.

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.

Unable to Use tmap::qtm() Without Loading the Entire tmap Package
3 participants