Java Archive Wrapper Supporting the 'crux' Package
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
boB Rudis a73d2f2313
simplified Makefile
5 år sedan
R working 5 år sedan
inst/java working 5 år sedan
java simplified Makefile 5 år sedan
man working 5 år sedan
tests R package repo initialization complete 5 år sedan
.Rbuildignore working 5 år sedan
.codecov.yml R package repo initialization complete 5 år sedan
.gitignore R package repo initialization complete 5 år sedan
.travis.yml R package repo initialization complete 5 år sedan
CONDUCT.md R package repo initialization complete 5 år sedan
DESCRIPTION license 5 år sedan
LICENSE license 5 år sedan
Makefile working 5 år sedan
NAMESPACE working 5 år sedan
NEWS.md R package repo initialization complete 5 år sedan
README.Rmd working 5 år sedan
README.md working 5 år sedan
cruxjars.Rproj R package repo initialization complete 5 år sedan

README.md

Travis-CI BuildStatus CoverageStatus CRAN\_Status\_Badge

cruxjars

Java Archive Wrapper Supporting the ‘crux’ Package

Description

Contents of the ‘crux’ & supporting Java archives https://github.com/chimbori/crux.Version number reflects the version number of the included ‘JAR’ file.

Installation

install.packages(c("cruxjars", "crux"), repos = "https://cinc.rud.is/")

Usage

library(cruxjars)
library(crux)

# current version
packageVersion("crux")
## [1] '0.1.0'
str(
  summarise_url("http://time.com/5541738/joe-biden-backtracks-pence-praise-criticism/"), 1
)
## List of 14
##  $ url          : chr "http://time.com/5541738/joe-biden-backtracks-pence-praise-criticism/"
##  $ original_url : chr NA
##  $ title        : chr "Joe Biden Backtracks After Calling Pence 'a Decent Guy'"
##  $ description  : chr "The former Vice President took back his comment that Pence is \"a decent guy\" after fellow Democrats denounced his remarks"
##  $ site_name    : chr "Time"
##  $ theme_color  : chr NA
##  $ amp_url      : chr "http://amp.timeinc.net/time/5541738/joe-biden-backtracks-pence-praise-criticism"
##  $ canonical_url: chr "http://time.com/5541738/joe-biden-backtracks-pence-praise-criticism/"
##  $ image_url    : chr "http://timedotcom.files.wordpress.com/2019/03/ap19059832629402.jpg?quality=85&crop=0px%2C111px%2C6000px%2C3000p"| __truncated__
##  $ video_url    : chr NA
##  $ feed_url     : chr NA
##  $ favicon_url  : chr "http://time.com/img/favicons/favicon-192.png"
##  $ reading_time : int 2
##  $ text         : chr "(OMAHA, Neb.) — Former Vice President Joe Biden’s tendency to talk about his good relationships with Republican"| __truncated__
str(
  classify_url("https://www.washingtonpost.com/powerpost/house-democrats-explode-in-recriminations-as-liberals-lash-out-at-moderates/2019/02/28/c3d163fe-3b87-11e9-a06c-3ec8ed509d15_story.html")
)
## Classes 'tbl_df', 'tbl' and 'data.frame':    1 obs. of  10 variables:
##  $ url                 : chr "https://www.washingtonpost.com/powerpost/house-democrats-explode-in-recriminations-as-liberals-lash-out-at-mode"| __truncated__
##  $ is_ad_image         : logi FALSE
##  $ is_web_scheme       : logi TRUE
##  $ is_likely_article   : logi TRUE
##  $ is_likely_video     : logi FALSE
##  $ is_likely_audio     : logi FALSE
##  $ is_likely_binary_doc: logi FALSE
##  $ is_likely_archive   : logi FALSE
##  $ is_likely_executable: logi FALSE
##  $ is_likely_image     : logi FALSE

crux Metrics

Lang # Files (%) LoC (%) Blank lines (%) # Lines (%)
HTML 1 0.08 691 0.87 8 0.18 0 0.00
make 2 0.17 30 0.04 13 0.29 0 0.00
Java 2 0.17 28 0.04 5 0.11 18 0.21
Maven 1 0.08 17 0.02 0 0.00 1 0.01
R 5 0.42 15 0.02 2 0.04 32 0.38
Rmd 1 0.08 13 0.02 17 0.38 33 0.39

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.