databrickslabs / brickster

R Toolkit for Databricks
https://databrickslabs.github.io/brickster/
Apache License 2.0
49 stars 8 forks source link

knitr engine improvements #36

Closed zacdav-db closed 1 year ago

zacdav-db commented 1 year ago

Can now use %sh magic in rmarkdown:

This is achieved thanks to %%sh in a python context.

    ```{databricks_sh}
    ls -la /

Additionally can use new `db_{r/py/scala/sh}` shorthand
```r
    ```{db_r}
    library(sparklyr)
    sc <- spark_connect(method = "databricks")
codecov-commenter commented 1 year ago

Codecov Report

Merging #36 (3042091) into main (3a8b9c1) will decrease coverage by 0.01%. The diff coverage is 0.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   11.47%   11.47%   -0.01%     
==========================================
  Files          23       23              
  Lines        2744     2746       +2     
==========================================
  Hits          315      315              
- Misses       2429     2431       +2     
Files Changed Coverage Δ
R/knitr-engines.R 0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more