Skip to content

Commit

Permalink
Release/cran070 (#170)
Browse files Browse the repository at this point in the history
antaresEditObject 0.7.0
Second-member coupling constraint scenarios

NEW FEATURES (Antares v8.7, cf. Antares v8.7 changelog) :

createBindingConstraint() / createBindingConstraintBulk()

New parameters group
Parameter values is now list of data.frame
editBindingConstraint()

New parameters group
Parameter values is now list of data.frame
removeBindingConstraint() can now delete coupling constraints from the group parameter.

scenarioBuilder() has 3 new parameters dedicated to use with binding constraints.

updateGeneralSettings() adds coupling constraints to the scenariobuilder.dat file.

Breaking changes :
createBindingConstraint() is available with offset parameter in API mode
  • Loading branch information
berthetclement authored Jun 3, 2024
1 parent 622c2b5 commit c9adc8e
Show file tree
Hide file tree
Showing 46 changed files with 3,831 additions and 722 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master, develop]
branches: [main, master]
pull_request:
branches: [main, master, develop]
branches: [main, master]

name: R-CMD-check

Expand Down
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: antaresEditObject
Type: Package
Title: Edit an 'Antares' Simulation
Version: 0.6.4
Version: 0.7.0
Authors@R: c(
person("Tatiana", "Vargas", email = "[email protected]", role = c("aut", "cre")),
person("Frederic", "Breant", role = "aut"),
Expand Down Expand Up @@ -45,7 +45,8 @@ Imports:
parallel,
future,
plyr,
yaml
yaml,
lifecycle
Suggests:
testthat,
covr,
Expand Down
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export(createPSP)
export(createStudy)
export(createStudyAPI)
export(createVariant)
export(create_scb_referential_series_type)
export(deduplicateScenarioBuilder)
export(deleteStudy)
export(dicoGeneralSettings)
Expand All @@ -49,6 +50,7 @@ export(getJobLogs)
export(getJobs)
export(getPlaylist)
export(getVariantCommands)
export(group_values_check)
export(importZipStudyWeb)
export(is_antares_v7)
export(is_antares_v820)
Expand Down Expand Up @@ -145,6 +147,7 @@ importFrom(httr,stop_for_status)
importFrom(httr,upload_file)
importFrom(jsonlite,toJSON)
importFrom(jsonlite,write_json)
importFrom(lifecycle,deprecated)
importFrom(memuse,Sys.meminfo)
importFrom(plyr,ldply)
importFrom(plyr,llply)
Expand Down
25 changes: 23 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# antaresEditObject 0.7.0

> Second-member coupling constraint scenarios
NEW FEATURES (Antares v8.7, cf. Antares v8.7 changelog) :

* `createBindingConstraint()` / `createBindingConstraintBulk()`
- New parameters `group`
- Parameter `values` is now list of `data.frame`

* `editBindingConstraint()`
- New parameters `group`
- Parameter `values` is now list of `data.frame`

* `removeBindingConstraint()` can now delete coupling constraints from the `group` parameter.
* `scenarioBuilder()` has 3 new parameters dedicated to use with binding constraints.
* `updateGeneralSettings()` adds coupling constraints to the `scenariobuilder.dat` file.

### Breaking changes :

* `createBindingConstraint()` is available with **offset** parameter in API mode


# antaresEditObject 0.6.4

Expand Down Expand Up @@ -62,11 +84,11 @@ BUGFIXES :
# antaresEditObject 0.6.1
* `writeInputTS()` allows the user to set a link with the separator ' - ' (ex: 'area1 - area2')


BUGFIXES :

* Error CRAN CHECKS (fix issue #115)


# antaresEditObject 0.6.0

### Breaking changes (Antares v8.6, cf. Antares v8.6 changelog) :
Expand Down Expand Up @@ -99,7 +121,6 @@ NEW FEATURES :
* `removeArea()` removes only expected files in links directory



### Breaking changes

* `deleteStudy()` no longer requires user confirmation
Expand Down
7 changes: 7 additions & 0 deletions R/antaresEditObject-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
#' @importFrom lifecycle deprecated
## usethis namespace: end
NULL
Loading

0 comments on commit c9adc8e

Please sign in to comment.