Validation Report - FinancialInstrument@1.3.1
Context
This report is fully automated and builds on rhub/ref-image image. Documents the installation of this package on an open source R environment, focusing on:
- Installation environment description
- Testing coverage
It is limited to assess whether unit tests and documentation are present and can execute without error. An assessment would be required that the tests and documentation are meaningful.
Package FinancialInstrument
Metric based risk assessment
The following metrics are derived from the riskmetric
R package.
has_news | 0 |
exported_namespace | 129 |
has_vignettes | 0 |
export_help | 129 |
has_website | TRUE |
has_maintainer | Ross Bennett rossbennett34@gmail.com |
bugs_status | package DESCRIPTION does not have a BugReports field |
has_source_control | https://github.com/braverock/FinancialInstrument |
has_bug_reports_url | 0 |
downloads_1yr | 6131 |
reverse_dependencies | 0 |
has_examples | 0.9705882 |
dependencies | 5 |
license | GPL |
Package general assessment: Coverage, check results, size, download the last year, reverse dependencies and number of dependencies.
Dependencies
Overall the package has these dependencies:
package | type | |
---|---|---|
1 | methods | Depends |
2 | quantmod (>= 0.4-3) | Depends |
3 | zoo (>= 1.7-5) | Depends |
4 | xts (>= 0.10-0) | Depends |
5 | TTR | Imports |
Package dependencies
Reverse dependencies
Overall the package has 0 reverse dependencies:
Namespace
Overall the package has 129 exported objects. 129 are documented:
.to_daily add.defined.by
TRUE TRUE
add.identifier bond
TRUE TRUE
bond_series build_series_symbols
TRUE TRUE
build_spread_symbols buildBasket
TRUE TRUE
buildHierarchy buildRatio
TRUE TRUE
buildSpread butterfly
TRUE TRUE
C2M CompareInstrumentFiles
TRUE TRUE
currency Denotionalize
TRUE TRUE
exchange_rate expires
TRUE TRUE
find.instrument fn_SpreadBuilder
TRUE TRUE
format_id formatSpreadPrice
TRUE TRUE
fund future
TRUE TRUE
future_series getInstrument
TRUE TRUE
getSymbols.FI guaranteed_spread
TRUE TRUE
ICS ICS_root
TRUE TRUE
instrument instrument_attr
TRUE TRUE
instrument.auto instrument.table
TRUE TRUE
is.currency is.currency.name
TRUE TRUE
is.instrument is.instrument.name
TRUE TRUE
load.instruments loadInstruments
TRUE TRUE
ls_AUD ls_bonds
TRUE TRUE
ls_by_currency ls_by_expiry
TRUE TRUE
ls_CAD ls_calls
TRUE TRUE
ls_CHF ls_currencies
TRUE TRUE
ls_derivatives ls_EUR
TRUE TRUE
ls_exchange_rates ls_expires
TRUE TRUE
ls_expiries ls_funds
TRUE TRUE
ls_future_series ls_futures
TRUE TRUE
ls_FX ls_GBP
TRUE TRUE
ls_guaranteed_spreads ls_HKD
TRUE TRUE
ls_ICS ls_ICS_roots
TRUE TRUE
ls_instruments ls_instruments_by
TRUE TRUE
ls_JPY ls_non_currencies
TRUE TRUE
ls_non_derivatives ls_NZD
TRUE TRUE
ls_option_series ls_options
TRUE TRUE
ls_puts ls_SEK
TRUE TRUE
ls_spreads ls_stocks
TRUE TRUE
ls_strikes ls_synthetics
TRUE TRUE
ls_underlyings ls_USD
TRUE TRUE
M2C make_spread_id
TRUE TRUE
MC2N month_cycle2numeric
TRUE TRUE
next.future_id Notionalize
TRUE TRUE
option option_series
TRUE TRUE
option_series.yahoo parse_id
TRUE TRUE
parse_suffix prev.future_id
TRUE TRUE
redenominate reloadInstruments
TRUE TRUE
rm_bonds rm_by_currency
TRUE TRUE
rm_by_expiry rm_currencies
TRUE TRUE
rm_derivatives rm_exchange_rates
TRUE TRUE
rm_funds rm_future_series
TRUE TRUE
rm_futures rm_FX
TRUE TRUE
rm_instruments rm_non_derivatives
TRUE TRUE
rm_option_series rm_options
TRUE TRUE
rm_spreads rm_stocks
TRUE TRUE
rm_synthetics saveInstruments
TRUE TRUE
saveSymbols.common saveSymbols.days
TRUE TRUE
setSymbolLookup.FI sort_ids
TRUE TRUE
spread stock
TRUE TRUE
synthetic synthetic.instrument
TRUE TRUE
to_secBATV update_instruments.instrument
TRUE TRUE
update_instruments.iShares update_instruments.masterDATA
TRUE TRUE
update_instruments.md update_instruments.morningstar
TRUE TRUE
update_instruments.ms update_instruments.SPDR
TRUE TRUE
update_instruments.TTR update_instruments.yahoo
TRUE TRUE
volep
TRUE
Examples
There are 66 help pages with examples, from 68 (97.06 %).
NEWS
The package has NEWS file and it is current.
License
The package uses .
Installation environment
System Info
Field | Value |
---|---|
Image | rhub/ref-image |
OS | Ubuntu 24.04.2 LTS |
Platform | x86_64-pc-linux-gnu |
System | x86_64, linux-gnu |
Execution Time | 2025-02-28 03:31:15 UTC |
System information. Table about the system used to check the package.
R Session Info
Information about the R environment and capabilities:
R version 4.4.2 (2024-10-31)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 24.04.2 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so; LAPACK version 3.12.0
locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
[4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
[7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
time zone: UTC
tzcode source: system (glibc)
attached base packages:
[1] tools stats graphics grDevices utils datasets methods
[8] base
loaded via a namespace (and not attached):
[1] riskreports_0.0.0.9003 compiler_4.4.2 fastmap_1.2.0
[4] cli_3.6.4 htmltools_0.5.8.1 yaml_2.3.10
[7] rmarkdown_2.29 knitr_1.49 jsonlite_1.9.0
[10] xfun_0.51 digest_0.6.37 rlang_1.1.5
[13] evaluate_1.0.3
Platform used:
OS.type file.sep dynlib.ext GUI endian pkgType path.sep
"unix" "/" ".so" "X11" "little" "source" ":"
r_arch
""
R’s capabilities:
jpeg png tiff tcltk X11 aqua
TRUE TRUE TRUE TRUE FALSE FALSE
http/ftp sockets libxml fifo cledit iconv
TRUE TRUE FALSE TRUE FALSE TRUE
NLS Rprof profmem cairo ICU long.double
TRUE TRUE TRUE TRUE TRUE TRUE
libcurl
TRUE
External software:
zlib
"1.3"
bzlib
"1.0.8, 13-Jul-2019"
xz
"5.4.5"
libdeflate
"1.19"
PCRE
"10.42 2022-12-11"
ICU
"74.2"
TRE
"TRE 0.8.0 R_fixes (BSD)"
iconv
"glibc 2.39"
readline
"8.2"
BLAS
"/usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3"
Graphics external software:
cairo cairoFT pango
"1.18.0" "" "1.52.1"
libpng jpeg libtiff
"1.6.43" "8.0" "LIBTIFF, Version 4.5.1"
Numerical characteristics of the machine:
double.eps double.neg.eps double.xmin
2.220446e-16 1.110223e-16 2.225074e-308
double.xmax double.base double.digits
1.797693e+308 2.000000e+00 5.300000e+01
double.rounding double.guard double.ulp.digits
5.000000e+00 0.000000e+00 -5.200000e+01
double.neg.ulp.digits double.exponent double.min.exp
-5.300000e+01 1.100000e+01 -1.022000e+03
double.max.exp integer.max sizeof.long
1.024000e+03 2.147484e+09 8.000000e+00
sizeof.longlong sizeof.longdouble sizeof.pointer
8.000000e+00 1.600000e+01 8.000000e+00
sizeof.time_t longdouble.eps longdouble.neg.eps
8.000000e+00 1.084202e-19 5.421011e-20
longdouble.digits longdouble.rounding longdouble.guard
6.400000e+01 5.000000e+00 0.000000e+00
longdouble.ulp.digits longdouble.neg.ulp.digits longdouble.exponent
-6.300000e+01 -6.400000e+01 1.500000e+01
longdouble.min.exp longdouble.max.exp
-1.638200e+04 1.638400e+04
Random number generation process:
[1] "Mersenne-Twister" "Inversion" "Rejection"
Information about the environment
Environmental and options variables affect how package checks and software in it might behave. Here is the environmental variables when running this report
_R_CHECK_SYSTEM_CLOCK_
FALSE
ACCEPT_EULA Y
ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE
/opt/actionarchivecache
AGENT_TOOLSDIRECTORY /opt/hostedtoolcache
ANDROID_HOME /usr/local/lib/android/sdk
ANDROID_NDK /usr/local/lib/android/sdk/ndk/27.2.12479018
ANDROID_NDK_HOME /usr/local/lib/android/sdk/ndk/27.2.12479018
ANDROID_NDK_LATEST_HOME
/usr/local/lib/android/sdk/ndk/28.0.13004108
ANDROID_NDK_ROOT /usr/local/lib/android/sdk/ndk/27.2.12479018
ANDROID_SDK_ROOT /usr/local/lib/android/sdk
ANT_HOME /usr/share/ant
AZURE_EXTENSION_DIR /opt/az/azcliextensions
BOOTSTRAP_HASKELL_NONINTERACTIVE
1
BUNDLE_EXT linux-amd64.deb
CHROME_BIN /usr/bin/google-chrome
CHROMEWEBDRIVER /usr/local/share/chromedriver-linux64
CI true
CONDA /usr/share/miniconda
DEBIAN_FRONTEND noninteractive
DENO_DOM_PLUGIN /opt/quarto/bin/tools/x86_64/deno_dom/libplugin.so
DENO_NO_UPDATE_CHECK 1
DENO_TLS_CA_STORE system,mozilla
DEPLOYMENT_BASEPATH /opt/runner
DOTNET_MULTILEVEL_LOOKUP
0
DOTNET_NOLOGO 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE
1
EDGEWEBDRIVER /usr/local/share/edge_driver
EDITOR vi
GECKOWEBDRIVER /usr/local/share/gecko_driver
GHCUP_INSTALL_BASE_PREFIX
/usr/local
GITHUB_ACTION __run_2
GITHUB_ACTION_REF
GITHUB_ACTION_REPOSITORY
GITHUB_ACTIONS true
GITHUB_ACTOR llrs-roche
GITHUB_ACTOR_ID 185338939
GITHUB_API_URL https://api.github.com
GITHUB_BASE_REF
GITHUB_ENV /home/runner/work/_temp/_runner_file_commands/set_env_51b0f8b4-662b-470d-a121-e85b1efe9d10
GITHUB_EVENT_NAME schedule
GITHUB_EVENT_PATH /home/runner/work/_temp/_github_workflow/event.json
GITHUB_GRAPHQL_URL https://api.github.com/graphql
GITHUB_HEAD_REF
GITHUB_JOB main
GITHUB_OUTPUT /home/runner/work/_temp/_runner_file_commands/set_output_51b0f8b4-662b-470d-a121-e85b1efe9d10
GITHUB_PATH /home/runner/work/_temp/_runner_file_commands/add_path_51b0f8b4-662b-470d-a121-e85b1efe9d10
GITHUB_REF refs/heads/main
GITHUB_REF_NAME main
GITHUB_REF_PROTECTED false
GITHUB_REF_TYPE branch
GITHUB_REPOSITORY pharmaR/pharmapkgs
GITHUB_REPOSITORY_ID 798326913
GITHUB_REPOSITORY_OWNER
pharmaR
GITHUB_REPOSITORY_OWNER_ID
42115094
GITHUB_RETENTION_DAYS 90
GITHUB_RUN_ATTEMPT 1
GITHUB_RUN_ID 13580597557
GITHUB_RUN_NUMBER 108
GITHUB_SERVER_URL https://github.com
GITHUB_SHA c24f97601418a199a6ce30ce4b9bb5fa2b97cc3a
GITHUB_STATE /home/runner/work/_temp/_runner_file_commands/save_state_51b0f8b4-662b-470d-a121-e85b1efe9d10
GITHUB_STEP_SUMMARY /home/runner/work/_temp/_runner_file_commands/step_summary_51b0f8b4-662b-470d-a121-e85b1efe9d10
GITHUB_TRIGGERING_ACTOR
llrs-roche
GITHUB_WORKFLOW Update package repositories
GITHUB_WORKFLOW_REF pharmaR/pharmapkgs/.github/workflows/update-repos.yml@refs/heads/main
GITHUB_WORKFLOW_SHA c24f97601418a199a6ce30ce4b9bb5fa2b97cc3a
GITHUB_WORKSPACE /home/runner/work/pharmapkgs/pharmapkgs
GOROOT_1_21_X64 /opt/hostedtoolcache/go/1.21.13/x64
GOROOT_1_22_X64 /opt/hostedtoolcache/go/1.22.12/x64
GOROOT_1_23_X64 /opt/hostedtoolcache/go/1.23.6/x64
GRADLE_HOME /usr/share/gradle-8.12.1
HOME /home/runner
HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS
3650
HOMEBREW_NO_AUTO_UPDATE
1
ImageOS ubuntu24
ImageVersion 20250223.1.0
INVOCATION_ID 9b5d3e8a585a409a90f4111fad183619
JAVA_HOME /usr/lib/jvm/temurin-17-jdk-amd64
JAVA_HOME_11_X64 /usr/lib/jvm/temurin-11-jdk-amd64
JAVA_HOME_17_X64 /usr/lib/jvm/temurin-17-jdk-amd64
JAVA_HOME_21_X64 /usr/lib/jvm/temurin-21-jdk-amd64
JAVA_HOME_8_X64 /usr/lib/jvm/temurin-8-jdk-amd64
JOURNAL_STREAM 8:7681
LANG C.UTF-8
LD_LIBRARY_PATH /opt/R/4.4.2/lib/R/lib:/usr/local/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/temurin-17-jdk-amd64/lib/server:/opt/R/4.4.2/lib/R/lib:/usr/local/lib:/usr/lib/x86_64-linux-gnu:/usr/lib/jvm/temurin-17-jdk-amd64/lib/server
LN_S ln -s
LOGGER_LOG_LEVEL DEBUG
MAKE make
MEMORY_PRESSURE_WATCH /sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure
MEMORY_PRESSURE_WRITE c29tZSAyMDAwMDAgMjAwMDAwMAA=
NOT_CRAN true
NVM_DIR /home/runner/.nvm
PAGER /usr/bin/pager
PATH /snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PERFLOG_LOCATION_SETTING
RUNNER_PERFLOG
PHARMAPKGS_EXCLUDED_METRICS
assess_covr_coverage,assess_r_cmd_check
PHARMAPKGS_LIMIT 100
PHARMAPKGS_PLATFORM ubuntu-22.04
PHARMAPKGS_R_VERSION 4.4
PHARMAPKGS_REMOTE_REPO
https://cloud.r-project.org/
PIPX_BIN_DIR /opt/pipx_bin
PIPX_HOME /opt/pipx
PKGCACHE_HTTP_VERSION 2
PKGLOAD_PARENT_TEMPDIR
/tmp/RtmpyBiUQ5
POWERSHELL_DISTRIBUTION_CHANNEL
GitHub-Actions-ubuntu24
PROCESSX_PS1cc8187bac0e_1740713471
YES
PWD /home/runner/work/pharmapkgs/pharmapkgs
QUARTO_BIN_PATH /opt/quarto/bin
QUARTO_DENO /opt/quarto/bin/tools/x86_64/deno
QUARTO_DOCUMENT_PATH /home/runner/work/pharmapkgs/pharmapkgs/inst/report
QUARTO_PROFILE
QUARTO_PROJECT_DIR /home/runner/work/pharmapkgs/pharmapkgs
QUARTO_PROJECT_ROOT /home/runner/work/pharmapkgs/pharmapkgs
QUARTO_ROOT /
QUARTO_SHARE_PATH /opt/quarto/share
R_ARCH
R_BROWSER xdg-open
R_BZIPCMD /usr/bin/bzip2
R_DOC_DIR /opt/R/4.4.2/lib/R/doc
R_GZIPCMD /usr/bin/gzip
R_HOME /opt/R/4.4.2/lib/R
R_INCLUDE_DIR /opt/R/4.4.2/lib/R/include
R_LIB_FOR_PAK /opt/R/4.4.2/lib/R/site-library
R_LIBS_SITE /opt/R/4.4.2/lib/R/site-library
R_LIBS_USER /home/runner/work/_temp/Library
R_PAPERSIZE letter
R_PAPERSIZE_USER letter
R_PDFVIEWER /usr/bin/xdg-open
R_PLATFORM x86_64-pc-linux-gnu
R_PRINTCMD /usr/bin/lpr
R_RD4PDF times,inconsolata,hyper
R_SESSION_TMPDIR /tmp/RtmpGqAlCJ
R_SHARE_DIR /opt/R/4.4.2/lib/R/share
R_STRIP_SHARED_LIB strip --strip-unneeded
R_STRIP_STATIC_LIB strip --strip-debug
R_TEXI2DVICMD /usr/bin/texi2dvi
R_UNZIPCMD /usr/bin/unzip
R_ZIPCMD /usr/bin/zip
RUNNER_ARCH X64
RUNNER_ENVIRONMENT github-hosted
RUNNER_NAME GitHub Actions 11
RUNNER_OS Linux
RUNNER_PERFLOG /home/runner/perflog
RUNNER_TEMP /home/runner/work/_temp
RUNNER_TOOL_CACHE /opt/hostedtoolcache
RUNNER_TRACKING_ID github_82430c47-5858-494d-ae71-2f94cad28425
RUNNER_USER runner
RUNNER_WORKSPACE /home/runner/work/pharmapkgs
SED /usr/bin/sed
SELENIUM_JAR_PATH /usr/share/java/selenium-server.jar
SGX_AESM_ADDR 1
SHLVL 1
STATS_D true
STATS_D_D true
STATS_D_TC true
STATS_EXT true
STATS_EXTP https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data
STATS_PIP false
STATS_RDCL true
STATS_TRP true
STATS_UE true
STATS_V3PS true
STATS_VMD true
STATS_VMFE true
SWIFT_PATH /usr/share/swift/usr/bin
SYSTEMD_EXEC_PID 832
TAR /usr/bin/tar
TZ UTC
USER runner
VCPKG_INSTALLATION_ROOT
/usr/local/share/vcpkg
XDG_CONFIG_HOME /home/runner/.config
XDG_RUNTIME_DIR /run/user/1001
These are the options set to generate the report:
$add.smooth
[1] TRUE
$bitmapType
[1] "cairo"
$browser
[1] "xdg-open"
$browserNLdisabled
[1] FALSE
$callr.condition_handler_cli_message
function (msg)
{
custom_handler <- getOption("cli.default_handler")
if (is.function(custom_handler)) {
custom_handler(msg)
}
else {
cli_server_default(msg)
}
}
<bytecode: 0x557706179910>
<environment: namespace:cli>
$catch.script.errors
[1] FALSE
$CBoundsCheck
[1] FALSE
$check.bounds
[1] FALSE
$citation.bibtex.max
[1] 1
$continue
[1] "+ "
$contrasts
unordered ordered
"contr.treatment" "contr.poly"
$covr.record_tests
[1] TRUE
$defaultPackages
[1] "datasets" "utils" "grDevices" "graphics" "stats" "methods"
$demo.ask
[1] "default"
$deparse.cutoff
[1] 60
$device
function (width = 7, height = 7, ...)
{
grDevices::pdf(NULL, width, height, ...)
}
<bytecode: 0x55770581f490>
<environment: namespace:knitr>
$device.ask.default
[1] FALSE
$digits
[1] 7
$dvipscmd
[1] "dvips"
$echo
[1] FALSE
$editor
[1] "vi"
$encoding
[1] "native.enc"
$example.ask
[1] "default"
$expressions
[1] 5000
$help.search.types
[1] "vignette" "demo" "help"
$help.try.all.packages
[1] FALSE
$htmltools.preserve.raw
[1] TRUE
$HTTPUserAgent
[1] "R/4.4.2 R (4.4.2 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions"
$internet.info
[1] 2
$keep.parse.data
[1] TRUE
$keep.parse.data.pkgs
[1] FALSE
$keep.source
[1] FALSE
$keep.source.pkgs
[1] FALSE
$knitr.in.progress
[1] TRUE
$locatorBell
[1] TRUE
$mailer
[1] "mailto"
$matprod
[1] "default"
$max.contour.segments
[1] 25000
$max.print
[1] 99999
$menu.graphics
[1] TRUE
$na.action
[1] "na.omit"
$Ncpus
[1] 1
$nwarnings
[1] 50
$OutDec
[1] "."
$pager
[1] "/opt/R/4.4.2/lib/R/bin/pager"
$papersize
[1] "letter"
$PCRE_limit_recursion
[1] NA
$PCRE_study
[1] FALSE
$PCRE_use_JIT
[1] TRUE
$pdfviewer
[1] "/usr/bin/xdg-open"
$pkgType
[1] "source"
$printcmd
[1] "/usr/bin/lpr"
$prompt
[1] "> "
$repos
CRAN
"https://cran.rstudio.com"
$rl_word_breaks
[1] " \t\n\"\\'`><=%;,|&{()}"
$rlang_trace_top_env
<environment: R_GlobalEnv>
$scipen
[1] 0
$show.coef.Pvalues
[1] TRUE
$show.error.messages
[1] TRUE
$show.signif.stars
[1] TRUE
$showErrorCalls
[1] TRUE
$showNCalls
[1] 50
$showWarnCalls
[1] FALSE
$str
$str$strict.width
[1] "no"
$str$digits.d
[1] 3
$str$vec.len
[1] 4
$str$list.len
[1] 99
$str$deparse.lines
NULL
$str$drop.deparse.attr
[1] TRUE
$str$formatNum
function (x, ...)
format(x, trim = TRUE, drop0trailing = TRUE, ...)
<environment: 0x557705651520>
$str.dendrogram.last
[1] "`"
$texi2dvi
[1] "/usr/bin/texi2dvi"
$tikzMetricsDictionary
[1] "validation_report_FinancialInstrument_v1.3.1-tikzDictionary"
$timeout
[1] 60
$try.outFile
A connection with
description ""
class "file"
mode "w+b"
text "binary"
opened "opened"
can read "yes"
can write "yes"
$ts.eps
[1] 1e-05
$ts.S.compat
[1] FALSE
$unzip
[1] "/usr/bin/unzip"
$useFancyQuotes
[1] FALSE
$verbose
[1] FALSE
$warn
[1] 0
$warning.length
[1] 1000
$warnPartialMatchArgs
[1] FALSE
$warnPartialMatchAttr
[1] FALSE
$warnPartialMatchDollar
[1] FALSE
$width
[1] 80