gmoTree 1.4.0
CRAN release: 2025-02-04
- Changes in functions
- Can handle custom exports better. However, their names need to start with
custexp_
- Changes in the
codebook()
function- Deprecated the
preamb
argument. There are known issues with the text created by this argument. Please remove any outdated preamble text from your old codebooks! - The codebook now includes the
Subsession
class variables ifinclude_subs = TRUE
- Replaced “Empty class” text in the output file with “No model fields except the built-in ones”
-
noargs
are now stored as Boolean (TRUE
/FALSE
) instead of strings ("TRUE"
/"FALSE"
) - Made sure that
Constants
andsettings
variables are shown as lists and not vectors if they contain more than one element
- Deprecated the
- Changes in the
delete_cases()
function- Added more validation checks to prevent erroneous inputs
- Changes in the
apptime()
function- If the output includes only one app and no durations are calculated,
the app name is now omitted from the list structure to be consistent with cases where durations are calculated, e.g.output$min_duration
instead ofoutput$appname$min_duration
- Improved message output formatting:
- Messages are now always shown in the list element
messages
(notmessage
as in some cases) - If one app has no durations, only
messages
are shown,duplicate_participants
and similar entries are omitted - Additional refinements in message display
- Messages are now always shown in the list element
- Changes regarding warning messages
- If the output includes only one app and no durations are calculated,
- Can handle custom exports better. However, their names need to start with
- Other changes
- Package is now linkable by other packages
- Linted code (more efficient & readable)
- Minor changes in the documentation
gmoTree 1.3.0
CRAN release: 2024-12-06
- Changes in
codebook()
- Bug fixes
- Resolved an issue with
Constants
vector presentations in the output files - Fixed incorrect handling of equal signs (
=
) in documentation and choices
- Resolved an issue with
- New arguments
-
splitvarname
to deal with long variable names. Caveat: In some cases, columns may still overlap. Control your output carefully! -
sep_list
to decide on list presentation or newline presentation in the output file -
initial
to include the initial values in the codebook
-
- Enhancements
- New preamble text
-
output_format
- Expanded the input possibilities for greater flexibility
- Changed default of
output_format
topdf_document_simple
- Improved handling of quotations
- Better presentations of quotations inside strings
- Quotation marks are now presented as straight and not smart form
- Removed non-escaped quotation marks from the output
- Improved list handling
- Values are now saved in list format and not as vectors
- Types of variables now correspond better to the types of the original variables
- Improved list presentation in output files for better readability
- Enhanced error and warning messages
- The function can now better deal better with empty arguments in the oTree code
- Bug fixes
- Linted older functions (more readable)
- Website changes
gmoTree 1.2.1
- New function
-
codebook()
: Create a codebook for the oTree code
-
- Linted code (more readable)
- Minor changes in warning messages
- More tests and examples
gmoTree 1.1.0
CRAN release: 2024-07-04
- Changes in functions
- Linted code (more efficient & readable)
- Minor changes in tests.R
- Minor changes in website, new logo
gmoTree 1.0.1
CRAN release: 2023-10-25
- Minor changes in examples and DESCRIPTION file
- Changes in functions: NONE
gmoTree 1.0.0
- File names of the examples are now portable
- Changes in functions
-
import_otree()
: Minor changes. Can also import portable file names now
-