-
Notifications
You must be signed in to change notification settings - Fork 33
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
Refactoring to address #124 and #127 + clean up Imports #129
Open
elipousson
wants to merge
11
commits into
r-spatial:master
Choose a base branch
from
elipousson:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
- docs: build README to add badges + swap remotes for pak
- refactor: add helper functions + rename insane_longitude_warning to invalid_longitude_warning - refactor: copy mapview2leaflet function into helpers
- refactor: update Imports (adding cli, rlang, sp, utils + removing assertthat) + Suggests (adding geojsonio and stars + moving leaflet.extras, leafpop, mapdeck, miniUI, and tmaptools from Imports) - refactor: stop importing whole libraries, add missing prefixes, and move importFrom tags to package documentation - docs: wrap excess line lengths for function descriptions/parameter definitions - docs: add MIT License file + correct license badge in README
- refactor: split leafletControls.R from projection.R + return mapview_init to leafletControls.R
- refactor: simplify logic for createExtent + add imports from raster, sp, and sf + add helper functions
@tim-salabim – no rush, of course, but just wanted to make sure you'd seen that this pull request existed. I also wanted to offer that I can always modify the pull request changes if there was some but not all of these changes that you'd like to see added to the package. |
Also check for libraries loaded in select_shiny_crosstalk
Addresses note from check: "Cannot extract version info from the following section titles: Bug Fixes"
Add Eli Pousson to contributors
Hi, sorry for the long silence. I'll get to this asap. |
No apologies needed! Just let me know if you have any questions or suggestions. |
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.
I started working on this only to address #124 but, I wanted the package to be able to clear devtools::check(), so I ended up addressing a variety of other small issues at the same time. Most of the changes are focused on avoiding whole library imports + moving the
@importFrom
tags to the function or package documentation. Key changes to imports include:I added cli and rlang to handle error and warning messages and use
rlang::check_installed()
for all the packages that are now in Suggests. I also switched the organization of the non-exported mapview functions to match the organization within the mapview repository.Lastly, I addressed #124 by replacing the calls to
dplyr::select_()
withdplyr::select()
anddplyr::all_of()
and incorporated the fix that @warnes used to address #127 in his pending pull request. Hope this is welcome pull request but I'm happy to make changes if needed!