Browse Source

testing

master
boB Rudis 5 years ago
parent
commit
1211f9cf1f
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 1
      README.Rmd
  2. 73
      README.md
  3. 33
      inst/templates/build.yml

1
README.Rmd

@ -1,3 +1,4 @@
---
output: rmarkdown::github_document
editor_options:
chunk_output_type: console

73
README.md

@ -0,0 +1,73 @@
[![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/sourcehut.svg?branch=master)](https://travis-ci.org/hrbrmstr/sourcehut)
[![builds.sr.ht
status](https://builds.sr.ht/~hrbrmstr/sourcehut.svg)](https://builds.sr.ht/~hrbrmstr/sourcehut?)
![Minimal R
Version](https://img.shields.io/badge/R%3E%3D-3.2.0-blue.svg)
![License](https://img.shields.io/badge/License-AGPL-blue.svg)
# sourcehut
Tools to Work with the SourceHut Development Ecosystem
## Description
SourceHut (<https://sourcehut.org/>) provides support for collaborative
development of anything that can can be managed by Git or Mecurial
version control systems. Tools are provided to query and ochestrate a
wide variety of SourceHut servies.
## What’s Inside The Tin
The following functions are implemented:
- `sourcehut_user`: Get or set SourceHut username value
- `use_builds`: Setup .build.yml for SourceHut builds
## Installation
``` r
remotes::install_git("https://git.rud.is/hrbrmstr/sourcehut.git")
# or
remotes::install_git("https://git.sr.ht/~hrbrmstr/sourcehut")
# or
remotes::install_gitlab("hrbrmstr/sourcehut")
# or
remotes::install_bitbucket("hrbrmstr/sourcehut")
# or
remotes::install_github("hrbrmstr/sourcehut")
```
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(sourcehut)
# current version
packageVersion("sourcehut")
## [1] '0.1.0'
```
## sourcehut Metrics
| Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) |
| :--- | -------: | ---: | --: | --: | ----------: | ---: | -------: | --: |
| R | 5 | 0.83 | 71 | 0.9 | 23 | 0.61 | 28 | 0.5 |
| Rmd | 1 | 0.17 | 8 | 0.1 | 15 | 0.39 | 28 | 0.5 |
## 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.

33
inst/templates/build.yml

@ -76,39 +76,6 @@ packages:
- r-cran-xml2
environment:
R_PACKAGE: {{{pkg}}}
_R_CHECK_URLS_USE_CURL_: FALSE
_R_CHECK_LENGTH_1_CONDITION_: TRUE
_R_CHECK_LENGTH_1_LOGIC2_: TRUE
_R_CHECK_TOPLEVEL_FILES_: TRUE
_R_CHECK_VC_DIRS_: TRUE
_R_CHECK_TIMINGS_: 10
_R_CHECK_INSTALL_DEPENDS_: TRUE
_R_CHECK_SUGGESTS_ONLY_: TRUE
_R_CHECK_NO_RECOMMENDED_: TRUE
_R_CHECK_EXECUTABLES_EXCLUSIONS_: FALSE
_R_CHECK_DOC_SIZES2_: TRUE
_R_CHECK_CODE_ASSIGN_TO_GLOBALENV_: TRUE
_R_CHECK_CODE_ATTACH_: TRUE
_R_CHECK_CODE_DATA_INTO_GLOBALENV_: TRUE
_R_CHECK_CODE_USAGE_VIA_NAMESPACES_: TRUE
_R_CHECK_DOT_FIRSTLIB_: TRUE
_R_CHECK_DEPRECATED_DEFUNCT_: TRUE
_R_CHECK_REPLACING_IMPORTS_: TRUE
_R_CHECK_SCREEN_DEVICE_: stop
_R_CHECK_TOPLEVEL_FILES_: TRUE
_R_CHECK_S3_METHODS_NOT_REGISTERED_: TRUE
_R_CHECK_OVERWRITE_REGISTERED_S3_METHODS_: TRUE
_R_CHECK_PRAGMAS_: TRUE
_R_CHECK_CRAN_INCOMING_USE_ASPELL_: TRUE
_R_CHECK_COMPILATION_FLAGS_: TRUE
_R_CHECK_R_DEPENDS_: warn
_R_CHECK_SERIALIZATION_: TRUE
_R_CHECK_R_ON_PATH_: TRUE
_R_CHECK_PACKAGES_USED_IN_TESTS_USE_SUBDIRS_: TRUE
_R_CHECK_SHLIB_OPENMP_FLAGS_: TRUE
_R_CHECK_CONNECTIONS_LEFT_OPEN_: TRUE
_R_CHECK_FUTURE_FILE_TIMESTAMPS_: TRUE
_R_CHECK_AUTOCONF_: true
sources:
- https://git.sr.ht/{{{username}}}/{{{pkg}}}
tasks:

Loading…
Cancel
Save