25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
boB Rudis c23df3647e
forgot how daft g++ is
4 년 전
R forgot how daft g++ is 4 년 전
man forgot how daft g++ is 4 년 전
src forgot how daft g++ is 4 년 전
tests R package repo initialization complete 5 년 전
.Rbuildignore iptools2 4 년 전
.codecov.yml R package repo initialization complete 5 년 전
.gitignore R package repo initialization complete 5 년 전
.travis.yml R package repo initialization complete 5 년 전
CONDUCT.md R package repo initialization complete 5 년 전
DESCRIPTION iptools2 4 년 전
LICENSE iptools2 4 년 전
LICENSE.md iptools2 4 년 전
NAMESPACE forgot how daft g++ is 4 년 전
NEWS.md R package repo initialization complete 5 년 전
README.Rmd forgot how daft g++ is 4 년 전
README.md forgot how daft g++ is 4 년 전
iptools2.Rproj R package repo initialization complete 5 년 전

README.md

Project Status: Active – The project has reached a stable, usablestate and is being activelydeveloped. Signedby Signed commit% Linux buildStatus
Minimal RVersion License

iptools2

A WIP Re-imagining of {iptools}

Description

A WIP Re-imagining of {iptools}

What’s Inside The Tin

The following functions are implemented:

  • range_boundaries: Retrieve range boundaries for a character vector of IPv4/IPv6 CIDRs

Installation

remotes::install_git("https://git.rud.is/hrbrmstr/iptools2.git")
# or
remotes::install_git("https://git.sr.ht/~hrbrmstr/iptools2")
# or
remotes::install_gitlab("hrbrmstr/iptools2")
# or
remotes::install_bitbucket("hrbrmstr/iptools2")
# or
remotes::install_github("hrbrmstr/iptools2")

NOTE: To use the ‘remotes’ install options you will need to have the {remotes} package installed.

Usage

library(iptools2)

# current version
packageVersion("iptools2")
## [1] '0.1.0'
range_boundaries(
  c("2001:4801::/32", "2001:0db8::/127", "10.1.10.0/24", "2001:0db8::/119", "wat")
)
##              cidr      canonical       start           end      n_hosts
## 1  2001:4801::/32 2001:4801::/32 2001:4801::   2001:4802:: 7.922816e+28
## 2 2001:0db8::/127 2001:db8::/127  2001:db8::   2001:db8::2 2.000000e+00
## 3    10.1.10.0/24   10.1.10.0/24   10.1.10.1   10.1.10.255 2.540000e+02
## 4 2001:0db8::/119 2001:db8::/119  2001:db8:: 2001:db8::200 5.120000e+02
## 5             wat           <NA>        <NA>          <NA>           NA

iptools2 Metrics

Lang # Files (%) LoC (%) Blank lines (%) # Lines (%)
C++ 2 0.29 241 0.92 33 0.62 18 0.23
Rmd 1 0.14 11 0.04 16 0.30 30 0.38
R 4 0.57 9 0.03 4 0.08 30 0.38

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.