Tests and Coverage

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  eval = FALSE
)

This output is created by covrpage.

Coverage

Coverage summary is created using the covr package.

| Object | Coverage (%) | |:--------------------------------|:------------:| | jsTree | 80.49 | | R/jsTree.R | 78.57 | | R/makelist.R | 82.50 |


Unit Tests

Unit Test summary is created using the testthat package.

| file | n | time | error | failed | skipped | warning | |:------------------------------------|----:|------:|------:|-------:|--------:|--------:| | test-html.R | 1 | 0.498 | 0 | 0 | 0 | 0 | | test-nest.R | 5 | 0.019 | 0 | 0 | 0 | 0 |

Show Detailed Test Results

| file | context | test | status | n | time | |:----------------------------------------|:--------|:----------------------|:-------|----:|------:| | test-html.R | html | tree html | PASS | 1 | 0.498 | | test-nest.R | nest | nesting default | PASS | 1 | 0.004 | | test-nest.R | nest | nesting different sep | PASS | 2 | 0.008 | | test-nest.R | nest | nesting nodestate | PASS | 2 | 0.007 |

Session Info

| Field | Value | |:---------|:------------------------------------| | Version | R version 3.6.3 (2020-02-29) | | Platform | x86_64-apple-darwin15.6.0 (64-bit) | | Running | macOS Catalina 10.15.7 | | Language | en_US | | Timezone | America/New_York |

| Package | Version | |:---------|:--------| | testthat | 3.0.0 | | covr | 3.5.0 | | covrpage | 0.1 |



Try the jsTree package in your browser

Any scripts or data that you put into this service are public.

jsTree documentation built on Jan. 13, 2021, 8:40 p.m.