Skip to content

Commit

Permalink
updat pkgpage after release
Browse files Browse the repository at this point in the history
  • Loading branch information
Flavjack committed Apr 25, 2021
1 parent d414ce9 commit e56c6c8
Show file tree
Hide file tree
Showing 11 changed files with 148 additions and 28 deletions.
107 changes: 107 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# NOTE: This workflow is overkill for most R packages
# check-standard.yaml is likely a better choice
# usethis::use_github_action("check-standard") will install it.
#
# For help debugging build failures open an issue on the RStudio community with the 'github-actions' tag.
# https://community.rstudio.com/new-topic?category=Package%20development&tags=github-actions
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master

name: R-CMD-check

jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: 'release'}
- {os: windows-latest, r: '3.6'}
- {os: ubuntu-18.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest", http-user-agent: "R/4.0.0 (ubuntu-18.04) R (4.0.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions" }
- {os: ubuntu-18.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
- {os: ubuntu-18.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
- {os: ubuntu-18.04, r: '3.5', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
- {os: ubuntu-18.04, r: '3.4', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
- {os: ubuntu-18.04, r: '3.3', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}

env:
RSPM: ${{ matrix.config.rspm }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v1
id: install-r
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}

- uses: r-lib/actions/setup-pandoc@v1

- name: Install pak and query dependencies
run: |
install.packages("pak", repos = "https://r-lib.github.io/p/pak/dev/")
saveRDS(pak::pkg_deps("local::.", dependencies = TRUE), ".github/r-depends.rds")
shell: Rscript {0}

- name: Restore R package cache
uses: actions/cache@v2
with:
path: |
${{ env.R_LIBS_USER }}/*
!${{ env.R_LIBS_USER }}/pak
key: ${{ matrix.config.os }}-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }}
restore-keys: ${{ matrix.config.os }}-${{ steps.install-r.outputs.installed-r-version }}-1-

- name: Install system dependencies
if: runner.os == 'Linux'
run: |
pak::local_system_requirements(execute = TRUE)
pak::pkg_system_requirements("rcmdcheck", execute = TRUE)
shell: Rscript {0}

- name: Install dependencies
run: |
pak::local_install_dev_deps(upgrade = TRUE)
pak::pkg_install("rcmdcheck")
shell: Rscript {0}

- name: Session info
run: |
options(width = 100)
pkgs <- installed.packages()[, "Package"]
sessioninfo::session_info(pkgs, include_base = TRUE)
shell: Rscript {0}

- name: Check
env:
_R_CHECK_CRAN_INCOMING_: false
run: |
options(crayon.enabled = TRUE)
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
shell: Rscript {0}

- name: Show testthat output
if: always()
run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash

- name: Upload check results
if: failure()
uses: actions/upload-artifact@main
with:
name: ${{ matrix.config.os }}-r${{ matrix.config.r }}-results
path: check
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Description: The 'inti' package is part of the 'inkaverse' project for developin
experiments and data collection (tarpuy()), data analysis and graphics (yupana())
, and technical writing (rtciles()).
Learn more about the 'inkaverse' project at <https://inkaverse.com/>.
Date: 2021-04-24
Date: 2021-04-25
Authors@R: person("Flavio", "Lozano-Isla", email = "[email protected]",
role = c("aut", "cre"), comment = c(ORCID = "0000-0002-0714-669X"))
URL: https://inkaverse.com/, https://github.com/flavjack/inti
Expand Down
13 changes: 13 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Versión 0.3.1

- upcoming updates
- Exploratory module []
- Boxplot
- Distributions
- emmeans [?]
- Comparison using vectors []
- PCA analysis
- Dimension contributions []
- Results to download []
- Styled message for apps []

# Version 0.3.0

- *Yupana*
Expand Down
6 changes: 3 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ knitr::opts_chunk$set(
# inti <img src="man/figures/logo.png" align="right" alt="" width="120" />

<!-- badges: start -->
[![Travis build status](https://travis-ci.org/Flavjack/inti.svg?branch=master)](https://travis-ci.org/Flavjack/inti)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/Flavjack/inti?branch=master&svg=true)](https://ci.appveyor.com/project/Flavjack/inti)
[![CRAN status](https://www.r-pkg.org/badges/version/inti)](https://CRAN.R-project.org/package=inti)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/inti?color=green)](https://r-pkg.org/pkg/inti)
[![DOI](https://zenodo.org/badge/82401374.svg)](https://zenodo.org/badge/latestdoi/82401374)
[![Travis build status](https://travis-ci.org/Flavjack/inti.svg?branch=master)](https://travis-ci.org/Flavjack/inti)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/Flavjack/inti?branch=master&svg=true)](https://ci.appveyor.com/project/Flavjack/inti)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/grand-total/inti?color=brightgreen)](https://r-pkg.org/pkg/inti)
<!-- badges: end -->

The 'inti' package is part of the 'inkaverse' project for developing different procedures and tools used in plant science and experimental designs. The mean aim of the package is to support researchers during the planning of experiments and data collection 'tarpuy()', data analysis and graphics 'yupana()', and technical writing 'rtciles()'. Learn more about the 'inkaverse' project at <https://inkaverse.com/>.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

<!-- badges: start -->

[![CRAN
status](https://www.r-pkg.org/badges/version/inti)](https://CRAN.R-project.org/package=inti)
[![DOI](https://zenodo.org/badge/82401374.svg)](https://zenodo.org/badge/latestdoi/82401374)
[![Travis build
status](https://travis-ci.org/Flavjack/inti.svg?branch=master)](https://travis-ci.org/Flavjack/inti)
[![AppVeyor build
status](https://ci.appveyor.com/api/projects/status/github/Flavjack/inti?branch=master&svg=true)](https://ci.appveyor.com/project/Flavjack/inti)
[![CRAN
status](https://www.r-pkg.org/badges/version/inti)](https://CRAN.R-project.org/package=inti)
[![CRAN RStudio mirror
downloads](https://cranlogs.r-pkg.org/badges/grand-total/inti?color=green)](https://r-pkg.org/pkg/inti)
[![DOI](https://zenodo.org/badge/82401374.svg)](https://zenodo.org/badge/latestdoi/82401374)
downloads](https://cranlogs.r-pkg.org/badges/grand-total/inti?color=brightgreen)](https://r-pkg.org/pkg/inti)
<!-- badges: end -->

The ‘inti’ package is part of the ‘inkaverse’ project for developing
Expand Down
8 changes: 4 additions & 4 deletions docs/articles/yupana.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ articles:
heritability: heritability.html
policy: policy.html
yupana: yupana.html
last_built: 2021-04-24T22:44Z
last_built: 2021-04-25T08:41Z
urls:
reference: https://inkaverse.com//reference
article: https://inkaverse.com//articles
Expand Down
6 changes: 3 additions & 3 deletions inst/yupana/rsconnect/shinyapps.io/flavjack/yupanapro.dcf
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ account: flavjack
server: shinyapps.io
hostUrl: https://api.shinyapps.io/v1
appId: 2600632
bundleId: 4513674
bundleId: 4515072
url: https://flavjack.shinyapps.io/yupanapro/
when: 1619269584.60447
lastSyncTime: 1619269584.60447
when: 1619307432.58922
lastSyncTime: 1619307432.58922
asMultiple: FALSE
asStatic: FALSE
16 changes: 8 additions & 8 deletions inst/yupana/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -403,21 +403,21 @@ navbarPage(title = HTML('<h3><strong><a target="_blank" href="https://inkaverse.
, label = "Width (cm)"
, value = 20
, step = 2
, min = 5
, min = 4
),

numericInput(inputId = "graph_height"
, label = "Height (cm)"
, value = 10
, step = 2
, min = 5
, min = 4
),

numericInput(inputId = "graph_dpi"
, label = "Resolution"
, value = 100
, step = 20
, min = 50
, min = 40
),


Expand Down Expand Up @@ -484,23 +484,23 @@ navbarPage(title = HTML('<h3><strong><a target="_blank" href="https://inkaverse.

numericInput(inputId = "mvr_width"
, label = "Width (cm)"
, value = 15
, value = 14
, step = 2
, min = 5
, min = 4
),

numericInput(inputId = "mvr_height"
, label = "Height (cm)"
, value = 15
, value = 14
, step = 2
, min = 5
, min = 4
),

numericInput(inputId = "mvr_dpi"
, label = "Resolution"
, value = 100
, step = 20
, min = 50
, min = 40
),

actionButton(inputId = "mvr_refresh"
Expand Down

0 comments on commit e56c6c8

Please sign in to comment.