Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Computational Earth Sciences
multiApply
Commits
7f63c257
Commit
7f63c257
authored
Jan 22, 2021
by
Nuria Pérez-Zanón
Browse files
Merge branch 'master' into 'production'
Merging multiApply 2.1.2 into production branch See merge request
!25
parents
048b4ada
a26efbe5
Pipeline
#4816
passed with stage
in 1 minute and 8 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
DESCRIPTION
View file @
7f63c257
Package: multiApply
Title: Apply Functions to Multiple Multidimensional Arrays or Vectors
Version: 2.1.
1
Version: 2.1.
2
Authors@R: c(
person("BSC-CNS", role = c("aut", "cph")),
person("Nicolau", "Manubens", , "nicolau.manubens@bsc.es", role = "aut"),
...
...
@@ -29,9 +29,9 @@ Imports:
plyr
Suggests:
testthat
License:
LGPL-3
License:
Apache License 2.0
URL: https://earth.bsc.es/gitlab/ces/multiApply
BugReports: https://earth.bsc.es/gitlab/ces/multiApply/issues
BugReports: https://earth.bsc.es/gitlab/ces/multiApply/
-/
issues
Encoding: UTF-8
LazyData: true
RoxygenNote: 5.0.0
R/Apply.R
View file @
7f63c257
...
...
@@ -507,7 +507,7 @@ Apply <- function(data, target_dims = NULL, fun, ...,
chunk_sizes
<-
c
(
chunk_sizes
,
total_size
%%
chunk_size
)
}
fun_env
<-
new.env
(
parent
=
parent.frame
(
))
fun_env
<-
new.env
(
parent
=
environment
(
fun
))
for
(
i
in
seq_along
(
extra_info
))
{
assign
(
names
(
extra_info
)[
i
],
extra_info
[[
i
]],
envir
=
fun_env
)
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment