Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
r2ogs6
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ogs
OpenGeoSys Tools
r2ogs6
Commits
d36886d7
Commit
d36886d7
authored
4 years ago
by
Ruben Heinrich
Browse files
Options
Downloads
Patches
Plain Diff
[base] minor bugfixes
parent
379e538f
No related branches found
No related tags found
1 merge request
!6
Merge branch 7 fixed functionality into master
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
R/utils.R
+3
-3
3 additions, 3 deletions
R/utils.R
with
3 additions
and
3 deletions
R/utils.R
+
3
−
3
View file @
d36886d7
...
@@ -255,7 +255,7 @@ add_wrapper <- function(x, to_obj){
...
@@ -255,7 +255,7 @@ add_wrapper <- function(x, to_obj){
assertthat
::
assert_that
(
any
(
grepl
(
"OGS6_"
,
class
(
to_obj
),
fixed
=
TRUE
)))
assertthat
::
assert_that
(
any
(
grepl
(
"OGS6_"
,
class
(
to_obj
),
fixed
=
TRUE
)))
for
(
i
in
seq_len
(
length
(
x
))){
for
(
i
in
seq_len
(
length
(
x
))){
add_component
(
x
,
to_obj
)
to_obj
$
add_component
(
x
)
}
}
}
}
...
@@ -377,7 +377,7 @@ validate_is_dir_path <- function(path){
...
@@ -377,7 +377,7 @@ validate_is_dir_path <- function(path){
#'clean_up_imported_list
#'clean_up_imported_list
#'@description Cleans an imported list because sometimes strings containing
#'@description Cleans an imported list because sometimes strings containing
#' only newline characters and spaces get imported in
#' only newline characters and spaces get imported in
#'@param list list: A list
#'@param
imported_
list list: A list
clean_up_imported_list
<-
function
(
imported_list
){
clean_up_imported_list
<-
function
(
imported_list
){
assertthat
::
assert_that
(
is.list
(
imported_list
))
assertthat
::
assert_that
(
is.list
(
imported_list
))
...
@@ -613,7 +613,7 @@ validate_is_null_or_param_list <- function(obj, default_names){
...
@@ -613,7 +613,7 @@ validate_is_null_or_param_list <- function(obj, default_names){
#'@description Helper function to speed up tests
#'@description Helper function to speed up tests
#'@param prj_paths character: .prj paths
#'@param prj_paths character: .prj paths
#'@param starting_from_prj_path string: .prj path to start from
#'@param starting_from_prj_path string: .prj path to start from
#'@return
#'@return
character: The sublist starting from `starting_from_prj_path`
get_path_sublist
<-
function
(
prj_paths
,
starting_from_prj_path
){
get_path_sublist
<-
function
(
prj_paths
,
starting_from_prj_path
){
assertthat
::
assert_that
(
is.character
(
prj_paths
))
assertthat
::
assert_that
(
is.character
(
prj_paths
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment