Eva Rifà (4d0b07c2) at 31 Jan 16:35
Merge branch 'master' into 'production'
Eva Rifà (1e32077f) at 31 Jan 16:25
Eva Rifà (33b749f1) at 31 Jan 16:25
Merge branch 'develop-v0.3.3' into 'master'
... and 6 more commits
Eva Rifà (1e32077f) at 25 Jan 15:58
Update NEWS.md with today's date
Eva Rifà (b6178038) at 25 Jan 10:09
Update imports in DESCRIPTION
Eva Rifà (e4697cd2) at 24 Jan 15:18
Update documentation; .Rbuildignore
vagudets (78451aba) at 24 Jan 11:35
Update DESCRIPTION
Eva Rifà (18c73e41) at 24 Jan 10:49
Updated DESCRIPTION roxygenNote version
Eva Rifà (f6557baa) at 23 Jan 16:18
Version bump 0.3.3
Hi @vagudets
This is the fix for the bug you found. When drop = T
is used and the output should have one dimension that length is > 1, error is returned. E.g.,
arr <- array(1:3, dim = c(dat = 1, var = 1, sdate = 3))
Subset(arr, "sdate", 1:2, drop = T)
Error in dim(subset) <- dim(x)[dim_names] :
dims [product 3] do not match the length of object [2]
It is because the output dimension is not well-defined.
Can you check if the fix works as expected? Thanks!
Cheers,
An-Chi
aho (407e3ffd) at 21 Dec 16:34
Merge branch 'develop-Subset_dropT_dim' into 'master'
... and 1 more commit
Great! I merge it now. We can have a release when you want to.