Skip to content

Conversation

@iqraAmin
Copy link
Contributor

@iqraAmin iqraAmin commented Jan 9, 2026

No description provided.

@coderabbitai
Copy link

coderabbitai bot commented Jan 9, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

spat_information_vector <- gpoly[]
spat_information_centroids <- centroids(gpoly)
spat_information_centroids <- tryCatch(
centroids(gpoly),

Check warning

Code scanning / lintr

no visible global function definition for 'centroids' Warning

no visible global function definition for 'centroids'
cx[][["list_ID"]] <- gname
if (spat_unit %in% core_units) {
if (nrow(cx[]) == 0) {
stop(sprintf("Core spat_unit '%s' has 0 rows, object is invalid.", spat_unit))

Check notice

Code scanning / lintr

Lines should not be more than 80 characters. This line is 102 characters. Note

Lines should not be more than 80 characters. This line is 102 characters.
}

cx[][["list_ID"]] <- rep(gname, nrow(cx[]))
#cx[][["list_ID"]] <- gname

Check notice

Code scanning / lintr

Remove commented code. Note

Remove commented code.
centroids(gpoly),
error = function(e) NULL
)
# spat_information_centroids <- centroids(gpoly)

Check notice

Code scanning / lintr

Remove commented code. Note

Remove commented code.
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