Skip to content

fix issue 128, no formatting - #152

Merged
edzer merged 2 commits into
r-spatial:mainfrom
fjoudelat:fix-128-second-attempt
Nov 20, 2026
Merged

edzer merged 2 commits into
r-spatial:mainfrom
fjoudelat:fix-128-second-attempt

Conversation

@fjoudelat

Copy link
Copy Markdown
Contributor

No description provided.

@fjoudelat

Copy link
Copy Markdown
Contributor Author

References #128 , second attempt without formatting

Comment thread R/variogramST.R Outdated
np[j,i] <- nrow(indSp) # Issue #7, Thanks to Roelof.
gamma[j,i] <- 0.5*mean((data[,,colnames(m)[1]]@data[indSp[,1],1] - data[,,colnames(m)[1]]@data[indSp[,1]+indSp[,2],1])^2,
na.rm=TRUE)
gamma[j,i] <- 0.5*mean((data[,,colnames(m)[1], drop=T]@data[indSp[,1],1, drop=T] - data[,,colnames(m)[1], drop=T]@data[indSp[,1]+indSp[,2],1, drop=T])^2,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please use TRUE instead of T, to avoid warnings during package check

@edzer
edzer merged commit 06dbdbf into r-spatial:main Nov 20, 2026
5 of 6 checks passed
@edzer

edzer commented Nov 20, 2026

Copy link
Copy Markdown
Member

Thanks!

@fjoudelat
fjoudelat deleted the fix-128-second-attempt branch November 20, 2026 14:33
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.

2 participants