R Wrapper for the Go dnscaa Library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
3.1 KiB

4 years ago
[![Project Status: Active – The project has reached a stable, usable
state and is being actively
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![Signed
by](https://img.shields.io/badge/Keybase-Verified-brightgreen.svg)](https://keybase.io/hrbrmstr)
![Signed commit
%](https://img.shields.io/badge/Signed_Commits-100%25-lightgrey.svg)
[![Linux build
Status](https://travis-ci.org/hrbrmstr/caa.svg?branch=master)](https://travis-ci.org/hrbrmstr/caa)
![Minimal R
Version](https://img.shields.io/badge/R%3E%3D-3.2.0-blue.svg)
4 years ago
![License](https://img.shields.io/badge/License-MIT-blue.svg)
4 years ago
# caa
R Wrapper for the Go dnscaa Library
## Description
4 years ago
Experimental R wrapper for the Go dnscall library. Builds off of work
done by Romain Francois (<https://github.com/rstats-go/gotest>).
4 years ago
## What’s Inside The Tin
The following functions are implemented:
4 years ago
- `caa_dig`: Retrieve the CAA record values for a domain (if any)
4 years ago
## Installation
``` r
4 years ago
remotes::install_git("https://git.rud.is/hrbrmstr/caa.git")
# or
4 years ago
remotes::install_gitlab("hrbrmstr/caa")
4 years ago
# or
remotes::install_github("hrbrmstr/caa")
4 years ago
```
NOTE: To use the ‘remotes’ install options you will need to have the
[{remotes} package](https://github.com/r-lib/remotes) installed.
## Usage
``` r
library(caa)
# current version
packageVersion("caa")
## [1] '0.1.0'
```
``` r
caa_dig("google.com")
## [1] "pki.goog"
4 years ago
caa_dig("www.comodo.com")
## [1] "digicert.com" "mailto:sslabuse@comodoca.com" "comodoca.com"
4 years ago
```
## caa Metrics
| Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) |
| :----------------- | -------: | ---: | -----: | ---: | ----------: | ---: | -------: | ---: |
4 years ago
| Go | 1293 | 0.92 | 374709 | 0.95 | 40514 | 0.95 | 39884 | 0.95 |
4 years ago
| Assembly | 69 | 0.05 | 10426 | 0.03 | 1258 | 0.03 | 1424 | 0.03 |
| XML | 1 | 0.00 | 4780 | 0.01 | 228 | 0.01 | 13 | 0.00 |
| HTML | 10 | 0.01 | 2214 | 0.01 | 441 | 0.01 | 16 | 0.00 |
| Bourne Shell | 5 | 0.00 | 798 | 0.00 | 113 | 0.00 | 429 | 0.01 |
4 years ago
| C | 6 | 0.00 | 332 | 0.00 | 103 | 0.00 | 100 | 0.00 |
4 years ago
| Dockerfile | 3 | 0.00 | 91 | 0.00 | 27 | 0.00 | 23 | 0.00 |
| Bourne Again Shell | 2 | 0.00 | 72 | 0.00 | 12 | 0.00 | 6 | 0.00 |
4 years ago
| C/C++ Header | 1 | 0.00 | 47 | 0.00 | 27 | 0.00 | 10 | 0.00 |
4 years ago
| YAML | 2 | 0.00 | 45 | 0.00 | 0 | 0.00 | 0 | 0.00 |
| make | 2 | 0.00 | 25 | 0.00 | 7 | 0.00 | 4 | 0.00 |
4 years ago
| Rmd | 1 | 0.00 | 10 | 0.00 | 17 | 0.00 | 30 | 0.00 |
4 years ago
| R | 3 | 0.00 | 7 | 0.00 | 2 | 0.00 | 15 | 0.00 |
## Code of Conduct
Please note that this project is released with a Contributor Code of
Conduct. By participating in this project you agree to abide by its
terms.