• Stars
    star
    168
  • Rank 217,298 (Top 5 %)
  • Language
    HTML
  • License
    Other
  • Created almost 5 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🔑 Password protected markdown html reports in R using libsodium

lifecycle CRAN status R build status

Password protected html markdown documents

Self-encrypt html markdown reports using libsodium. The package lets you password protect markdown html documents and share them with others securely. The code needed to decrypt the file is bundled into the exported html file, which makes the resulting file fully self contained.

Use at your own risk. Feedback and bug reports very welcome!

Installation

install.packages("encryptedRmd")
remotes::install_github("dirkschumacher/encryptedRmd")

Functions

Encrypt html files

library(encryptedRmd)
encrypt_html_file("devel/example/test.html", output_path = "docs/test.encrypted.html")
#> The key to your file is: f5c8c13752cf4e8cc59b59e9f96279ceb6836fc8ce957e55e232724dd80c318f
#> Your file has been encrypted and saved at docs/test.encrypted.html

You can take a look at the exported file here and use the key printed above to decrypt it.

Encrypted rmarkdown html format

---
title: "test"
output: encryptedRmd::encrypted_html_document
---

See here for an example. After knitting, the document is encrypted with a random key and the file is stored in the same directory together with the key.

Inspiration

Inspired and based on the work by @derhuerst on self encrypting html pages.

License

MIT

Development

In devel/r-encrypted-html-template the code to generate the javascript file is contained. In order to update the template, you have to run the following:

  • In devel/r-encrypted-html-template run npm run build. This creates a new version of the template and copies it to devel/html-template.js. It also creates a file called JSLICENSES.txt that contains all licenses of used node packages.
  • In devel run combine.R. This generates the file report template and copies it to inst/html-template.html. This template is then used within the R package to generate encrypted html files.

More Repositories

1

ompr

R package to model Mixed Integer Linear Programs
R
259
star
2

llr

Lisp-like-R: A clojure inspired lisp that compiles to R in R
R
195
star
3

r-shiny-electron

WIP: Electron and R shiny
JavaScript
103
star
4

armacmp

🚀 Automatically compile linear algebra R code to C++ with Armadillo
R
94
star
5

wasmr

Execute WebAssembly from R using wasmer
C++
74
star
6

thankr

Find out who maintains the R packages you use and say 'thank you'
R
62
star
7

duckduckr

🦆🦆🚶 DuckDuckGo's Instant Answer API for R
R
43
star
8

awesome-r-organizations

A community curated list of awesome companies/organizations that contribute open source R software/packages
43
star
9

defmacro

Load Time R Package Macros
R
35
star
10

logician

🖖 Prolog-style Logic Programming in pure R
R
33
star
11

transduceR

transducers in R
R
31
star
12

r-orms

R for Operations Research
HTML
31
star
13

TransitmapSolver.jl

Generate transitmaps automatically using mixed integer programming
Julia
25
star
14

htmlvault

Encrypt files in self-decrypting html files using libsodium
HTML
19
star
15

r-sudoku

Solve Sudokus with R, GLPK, shiny and ompr
R
19
star
16

rcbc

COIN-OR branch and cut (CBC) bindings for R
R
19
star
17

learnsqlr

Learn SQL using R and duckdb
R
18
star
18

listcomp

List comprehensions in R
R
18
star
19

rcompilertools

Compiler Tools for R's bytecode compiler
R
16
star
20

PValueAdjust.jl

[deprecated] P-value adjustment methods for multiple testing correction
Julia
16
star
21

armacmp-shiny

A small shiny app to transpile R to C++
R
14
star
22

blake3

BLAKE3 Cryptographic Hash Function in R
R
13
star
23

rhxl

Humanitarian Exchange Language (HXL standard) in R
R
11
star
24

torchoptim

A bit like 'stats::optim', but with torch
R
10
star
25

etherscanr

Etherscan.io api client for R (work in progress)
R
10
star
26

polyglotr

Use C, Rust, Go and Assemblyscript in an R package through WebAssembly
R
10
star
27

RBerlinData

Open data for Berlin in R [project is abandoned]
R
9
star
28

or-companies

List of companies that hire developers particular to work on combinatorial (optimization) problems
9
star
29

genossenschaften

List of German Wohnungsbaugenossenschaften (Housing cooperatives)
8
star
30

repint

ALTREP example of rep.int
C
8
star
31

nodepicosat

SAT solver PicoSAT for javascript
JavaScript
8
star
32

ompr.roi

ROI bindings for OMPR
R
8
star
33

armacmp-examples

Examples of algorithms automatically compiled from R to C++
R
8
star
34

covid-19-indicators

Epidemiological Indicators (CFR, incubation period, serial interval) for COVID-19
7
star
35

votingpower.r

Measure voting power in R
R
7
star
36

encryptedCredentials

Small, opinionated package to manage encrypted credentials in R
R
7
star
37

ROI.plugin.cbc

ROI plugin for COIN-OR branch and cut (CBC) solver
R
7
star
38

shiny-tsp

Traveling salesperson problem with shiny
R
6
star
39

rpicosat

PicoSAT bindings for R
R
6
star
40

blume_messnet_api

Blume Messnet API
Ruby
5
star
41

coreml

WIP and proof of concept: convert R models to coreml and back
R
5
star
42

rcppglm

GLM implementation in c++ with rcpp and armadillo
C++
5
star
43

notail

Experimental and simple tail-call optimisation for R functions
R
4
star
44

optplot

An R package for plotting optimization problems/models
R
4
star
45

blume_crawler

A rake task to regularly download and save particulates statistics in Berlin
Ruby
4
star
46

ndarray-linear-regression

Linear regression (with QR decomposition) with ndarrays
JavaScript
4
star
47

defmacroex

An Example of defmacro
R
4
star
48

dirichlet-rating

Uncertainty intervals around star based ratings in javascript
JavaScript
4
star
49

iUPB

A popular app for the University of Paderborn, Germany [project is dead]
Ruby
4
star
50

hellozig

Zig and R
C
3
star
51

covid-api

COVID-19 cases in Germany
R
3
star
52

geopattern

HTML widget for the geopattern javascript library
R
3
star
53

ContentSecurityPolicy

Content Security Policies for Shiny Apps
R
3
star
54

tfjs-glm

Generalized linear models in tensorflow.js (WIP)
JavaScript
3
star
55

cyclehack-crowd-estimation

3
star
56

lyft_incentive_allocation

An implementation of the lyft incentive allocation problem in R
R
3
star
57

lazyseq

Lazy R list that evaluate elements only when needed
R
2
star
58

r-orms-idealist

A project wishlist for Operations Research in R
2
star
59

recon-sitrep-generator

Just a proof of concept
R
2
star
60

LineFlowSolver.jl

Solve the line flow problem
Julia
2
star
61

ompr.highs

HiGHS solver bindings for {ompr}
R
2
star
62

berlin-air-quality

2
star
63

RcppBrainfuck

Compile Brainfuck to C++ from R
R
2
star
64

advent-of-code-2021

In LLR
2
star
65

rs-leastsquare

least squares in rust
Rust
2
star
66

knapsack-cbc-wasm

C++
2
star
67

losep

An R package to detect seperation in binary classification models using linear programming
R
2
star
68

immerh

Immer C++ Header Files
C++
1
star
69

tfjs-leastsquares

Solve linear least-squares problems in tensorflow.js
JavaScript
1
star
70

rsupport

A machine readable list of R package makers and how to compensate them for their hard work
1
star
71

ftrljs

FTRL-Proximal online learning algorithm for logistic regression in javascript
JavaScript
1
star
72

mlcombinatorics

machine learning and combinatorics ressources
1
star
73

ompr.glpk

R
1
star
74

ompr.symphony

R
1
star
75

elm-ecdf-spa

A toy elm app to showcase the elm-ecdf package
Elm
1
star
76

multi-way-number-partitioning-problem

Integer programming for the multi way number partitioning problem (WIP)
1
star
77

ompr.docs

documentation website for the R ompr package
HTML
1
star
78

ftrl

Dense FTRL-Proximal online learning algorithm for logistic regression in R
R
1
star
79

aoc2020

AoC2020 using llr (lisp like R)
1
star
80

llr-shiny

Just a small test writing a shiny app using llr
Clojure
1
star