Skip to content

Releases: syncrosim/rsyncrosim

v1.5.0

01 Feb 23:55
Compare
Choose a tag to compare

What's Changed

Breaking changes

  • Added returnScenarioInfo argument to datasheet() function that adds the Scenario ID, Scenario Name, Project ID, Parent ID, and Parent Name columns to the output dataframe. By default, this argument is FALSE. The behaviour in v1.4.14 was to always return these columns.
  • Added returnInvisible argument to datasheet() function that, when set to TRUE, returns columns that are invisible in the SyncroSim User Interface. These columns are only used internally by SyncroSim and its Packages, and should normally not be edited or visible by the average SyncroSim User. By default, this argument is FALSE. The behaviour in v1.4.14 was to always return these columns.
  • Removed the published() function

Bug fixes:

  • Fixed bug in folder() function - issue retrieving existing folder when dependencies added to the library structure

v1.4.14

01 Dec 19:32
Compare
Choose a tag to compare

What's Changed:

  • Fixed bug in folder() function - issue retrieving existing folder when dependencies added to the library structure

v1.4.13

06 Nov 19:17
Compare
Choose a tag to compare

What's Changed:

  • Fixed bug introduced in 1.4.11 in saveDatasheet() function failing to save project and library scoped datasheets, and when the fileData argument was used.

v1.4.12

02 Nov 20:25
Compare
Choose a tag to compare

What's Changed:

  • Fixed bug in saveDatasheet() where ScenarioID column was always required

v1.4.11

02 Nov 18:02
Compare
Choose a tag to compare

What's Changed

  • Fixed bug introduced in 1.4.10 where the saveDatasheet() function tried to save the extra columns (ScenarioID, ProjectID, ScenarioName, ParentID, and ParentName), and failed when these columns did not exist in the database.

v1.4.10

01 Nov 19:08
Compare
Choose a tag to compare

What's changed

  • Updated the datasheet() function so that the same dataframe columns are returned when calling datasheet() for a single scenario or for multiple scenarios. Before, calling datasheet() fo a single scenario would leave out the ScenarioID, ProjectID, ScenarioName, ParentID, and ParentName columns.

v1.4.9

05 Oct 18:29
Compare
Choose a tag to compare

What's Changed:

  • Fixed bug in filterValue argument of datasheetSpatRaster

v1.4.8

17 Aug 13:57
Compare
Choose a tag to compare

What's Changed

  • Fixing R-CMD badge in docs by @katieb1 in #46
  • Updated dependencies - removed raster, included terra by @katieb1 in #47

Full Changelog: 1.4.7...1.4.8

v1.4.7

05 Jul 02:33
65cd8bb
Compare
Choose a tag to compare

Breaking changes:

  • Deprecated datasheetRaster() so will now throw a warning if used (but will still work)
  • Deprecated raster objects as inputs to saveDatasheet() so will now throw a warning if used (but will still work)

New features:

  • Added the new Folder class that allows users to retrieve folder data for a SyncroSim Library or Project, create new folders at the Project root or nested within other folders, and move Scenarios into folders.
  • Added the new published() function that allows a user to tag a folder for publication.
  • Added the new folderId() function that allows a user to assign a folder ID to a Scenario (moves the scenario into the specified folder), or retrieve the folder ID for a Scenario or Folder object.
  • Removed dependency on rgdal and raster functions (as these are now deprecated) and added terra dependency.
  • Updated saveDatasheet() to use terra spatRasters under the hood (raster objects still work as well, but will throw a warning)
  • Added new datasheetSpatRaster() function that works similarly to datasheetRaster(), but returns SpatRasters instead of raster objects and uses terra functions under the hood.

v1.4.5

25 May 01:00
Compare
Choose a tag to compare

Breaking changes

  • Removed the condaFilepath argument in the session() function as this was causing issues during multiprocessing; To set the conda path now, use the condaFilepath() replacement method on the session object.

Bug fixes:

  • Fixed bug that came up sometimes in datasheet() function when optional set to TRUE - this only came up sometimes because it had to do with the syncrosim validation type under the hood; if the validation was based on a core datasheet, then the function would fail.
  • Fixed bug when trying to retrieve datasheets for multiple scenarios:
Error in intersect(displayName, names(lookupSheet)) : 
  object 'displayName' not found