admiralophtha (development version)
Breaking Changes
-
The following functions are entering the next phase of the deprecation process:
Phase 1 (message)
-
derive_var_bcvacritxfl()and its internal utility functionderive_var_bcvacritxfl_util(). Users are invited to useadmiral::derive_vars_crit_flag()- please see the criterion flag section of the ADBCVA vignette for more details. Each deprecation phase for this function will only last six months (i.e. one release cycle). (#282)
Phase 2 (warning)
Phase 3 (error)
Phase 4 (removed)
-
Updates to Templates
- The
ADVFQtemplate was reviewed and modernized to be more in line with VFQ guidance. (#261)
Updates to Documentation
The “Ask AI” widget was added to the bottom right of each page. It enables users to ask questions about admiralophtha and the rest of the admiral ecosystem and receive answers from an LLM. It is trained on the documentation of all admiral packages and provided by kapa.ai. (#2887)
The
ADVFQvignette was reviewed and modernized to be more in line with VFQ guidance. (#261)Started using custom admiral roclet, resulting in cleared “Permitted” and “Default” values in function documentation. (#277)
Removed erroneous deprecation badges for
datasetandloc_valsarguments ofderive_var_afeye(). (#278)
Various
Developer Notes
- Updated lintr configurations to use central configurations from admiraldev. (#280)
admiralophtha 1.3.0
Updates to Templates
- Improved model derivation of criterion flag/variable pairs in
ADBCVAtemplate by showcasing use ofrestrict_derivation()in combination withcall-derivation(). (#267)
Updates to Documentation
Improved model derivation of criterion flag/variable pairs in
ADBCVAvignette by showcasing use ofrestrict_derivation()in combination withcall-derivation(). (#267)Updated ADOE template to showcase the mapping of IOP parameters, as well as the derivation of parameters for the difference between pre and post-dose IOP. (#260)
Added a citation for the source of the Visual Functioning Questionnaire (VFQ) to the ADVFQ template, vignette and test dataset documentation. (#243)
admiralophtha 1.2.0
Updates to Templates
Replaced the function
derive_var_bcvacrtixfl()with the new functionadmiral::derive_vars_crit_flag()for the derivation ofSBCVAandFBCVAcriterion flags in ADBCVA template. The functionderive_var_bcvacrtixfl()is now superseded. (#247)Within the ADBCVA template, updated
AVALCA1NandAVALCAT1derivations to use new functionadmiral::derive_vars_cat(). (#244) ## Updates to DocumentationReplaced the function
derive_var_bcvacrtixfl()with the new functionadmiral::derive_vars_crit_flag()for the derivation ofSBCVAandFBCVAcriterion flags in ADBCVA vignette. The functionderive_var_bcvacrtixfl()is now superseded. (#247)Within the ADBCVA vignette, updated
AVALCA1NandAVALCAT1derivations to use new functionadmiral::derive_vars_cat(). (#244)
Updates to Functions
-
The following function arguments of
derive_var_afeye()are removed following the end of their deprecation cycle (#237):- The argument
dataset_occ - The argument
lat_vals
- The argument
admiralophtha 1.1.0.
Updates to Functions
-
The following function arguments of
derive_var_afeye()are entering the next (and final) phase of the deprecation process (#223):- The argument
dataset_occ - The argument
lat_vals
- The argument
Various
- All vignettes and templates in admiralophtha have been updated to use the admiral subject keys option rather than explicitly quoting key variables such as
STUDYIDandUSUBJID. For instance, a line such asby_vars = exprs(STUDYID, USUBJID)would be replaced byby_vars = get_admiral_option("subject_keys")(#226).
admiralophtha 1.0.0
Updates to Templates
Removed
analysis_valueargument in the calls toderive_param_computed()in ADBCVA template in line with the deprecation of this argument in the new version of admiral. Variable values for parameters of interest are now all populated through theset_values_toargument (#207).Modified calls to
derive_summary_records()in ADVFQ template in line with the updates to this function in the new version of the admiral package. Thefilterargument is now renamed tofilter_add, the argumentdataset_addis now always specified and the variable values are now all populated through theset_values_toargument (#204).
Updates to Documentation
Added release date for admiralophtha 1.0 to the front page (#203).
Removed
analysis_valueargument in the calls toderive_param_computed()in ADBCVA vignette in line with the deprecation of this argument in the new version of admiral. Variable values for parameters of interest are now all populated through theset_values_toargument (#207).Modified calls to
derive_summary_records()in ADVFQ vignette in line with the updates to this function in the new version of the admiral package. Thefilterargument is now renamed tofilter_add, the argumentdataset_addis now always specified and the variable values are now all populated through theset_values_toargument (#204).
Updates to Functions
-
derive_var_afeye()was updated (#214):- A bug was removed where the function issued warnings when missing
xxLOCvalues were present in the input dataset. - The argument
dataset_occwas deprecated in favor ofdataset, in line with admiral conventions. - The argument
lat_valswas deprecated. Laterality values are now just expected to be “LEFT”, “RIGHT” or “BILATERAL”.
- A bug was removed where the function issued warnings when missing
admiralophtha 0.3.0
Updates to Functions
Added a new parameter
crit_vartoderive_var_bcvacritxfl()so that criterion flags can be derived with respect to any variable. Also removed argumentsparamcdsandbasetypeas their function can be achieved usingrestrict_derivation()from admiral. This also required renaming of argumentdataset_adbcvatodataset(#119).Added
AFEYEderivation and description to ADOE Vignette (#165).
Updates to Templates
Updated ADBCVA template’s calls to use
restrict_derivation()in calls toderive_var_bcvacritxfl()and also to showcase use ofcrit_varargument ofderive_var_bcvacritxfl()(#119).Switched out all references to
admiral.testfor references topharmaversesdtmin ADOE and ADBCVA templates, and updated code to refer tooe_ophthaaccordingly (#184).Switched out
derive_var_merged_cat()forderive_vars_merged()in the functionderive_var_studyeye()due to deprecation of the former in favor of the latter in admiral(#119).OECATandOESCAThave been added to the lookup tables in the ADOE and ADBCVA templates (#189).
Updates to Documentation
Added a reference for the ETDRS to LogMAR conversion done by
convert_etdrs_to_logmar()andconvert_logmar_to_etdrs()(#136).OECATandOESCAThave been added to the lookup tables in the ADOE and ADBCVA vignettes (#189).All function and variable names on the website are in backquotes (#173).
Updates to Data
- Removed
admiralophtha_exandadmiralophtha_qsfrom the package, as they now reside inpharmaversesdtm, where they are now namesex_ophthaandqs_ophtharespectively (#184).
admiralophtha 0.2.0
Updates to Functions
Added new parameter
loc_valsto functionderive_var_afeye()to allow users to specify values ofxxLOCfor whichAFEYEis derived (issue #163).Updated function
derive_var_afeye()to resolve bug whenSTUDYEYEis ‘Bilateral’ (issue #134).Added new parameter
lat_valsto functionderive_var_afeye()to allow users to specify values ofxxLATfor whichAFEYEis derived, as well as issuing warnings when unexpected values are found (issue #174).
Updates to Templates
Updated ADOE to refer to
OESTRESUforAVALUcreation (issue #139).Updated ADOE and ADBCVA
PARAMmapping to include units where applicable (issue #139).Updated ADOE, ADVFQ and ADBCVA for the unique intermediate dataset name to avoid overwriting, corrected the link for Visit and Period variables Vignette in ADVFQ (issue #128).
Corrected values of
DTYPE,VISIT,VISITNUM,OEDY,OEDTCfor derived parameters in ADBCVA template (issue #137).Updated ADBCVA and ADOE templates to include
AFEYE(issue #133).
Updates to Site
Added a “Report a bug” link to admiralophtha website (issue #127).
Fixed bug where the search bar didn’t work for some searches (issue #141).
admiralophtha 0.1.0
New Features
Added a function to derive the variable
STUDYEYEin ADSL (issue #9).Added a function to derive the variable
AFEYEin Occurrence datasets (issue #10).Added a function to derive the criterion flags in ADBCVA (issue #49).
Added a function to convert LogMAR scores to ETDRS scores (issue #50).
Added a function to convert ETDRS scores to LogMAR scores (issue #50).
Created ophthalmology-specific test data for the EX SDTM domain, stored in admiralophtha package and accessible by calling
data(admiralophtha_ex)(issue #36).Created ophthalmology-specific test data for the SC and OE SDTM domains, stored in admiral package and accessible by calling
data(admiral_sc)ordata(admiral_oe)(issues #11 and #13).Updated AE and QS test datasets in admiral to include ophthalmology-specific variables and records, such as laterality variables in AE and VFQ records in QS (issues #12 and #52).
