Fix some things to pass in the CI:

  - Fix VignetteIndexEntry field.
  - Add more file type in the test for code compliance.
  - Add hidden files and README's to the Rbuildignore.
  - Add package documentation and import wzRfun.
parent d1d1a051
Pipeline #6026 failed with stage
^data-raw$
^.build_package.R$
^.gitlab-ci.yml$
^.travis.yml$
^README.Rmd$
^README.md$
^index.html$
# Generated by roxygen2: do not edit by hand
import(wzRfun)
#' @name wzCoop
#' @title Reproducible Data Analysis of Scientific Cooperations
#' @docType package
#' @description \code{wzCoop} is a Reproducible Data Analysis
#' Package. This is an R package to keep, in a reproducible and free
#' accessible way, cientific colaborations that I
#' participated. Datasets of each cooperation are documented and its
#' analysis are done as package vignettes.
#' @import wzRfun
NULL
......@@ -82,10 +82,10 @@ library(lattice)
xyplot(tch ~ K | palha, groups = N, data = sugarcane_straw,
type = c("p", "a"),
xlab = expression("Potássio"~(ka~ha^{-1})),
xlab = expression("Potássio"~(kg~ha^{-1})),
ylab = expression("Produção de cana"~(ton~ha^{-1})),
auto.key = list(
title = expression("Nitrogênio"~(ka~ha^{-1})),
title = expression("Nitrogênio"~(kg~ha^{-1})),
cex.title = 1.1, columns = 5),
strip = strip.custom(
strip.names = FALSE,
......
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wzCoop.R
\docType{package}
\name{wzCoop}
\alias{wzCoop}
\alias{wzCoop-package}
\title{Reproducible Data Analysis of Scientific Cooperations}
\description{
\code{wzCoop} is a Reproducible Data Analysis
Package. This is an R package to keep, in a reproducible and free
accessible way, cientific colaborations that I
participated. Datasets of each cooperation are documented and its
analysis are done as package vignettes.
}
......@@ -9,7 +9,7 @@ if (requireNamespace("lintr", quietly = TRUE)) {
if (Sys.info()["sysname"] == "Linux" &
file.exists("../../DESCRIPTION")) {
ref <- c("ASCII", "UTF-8", "directory")
ref <- c("ASCII", "UTF-8", "directory", "HTML", "bzip2")
test_that("Encoding of files in root", {
enc <- system(
"file -b ../../* | cut -f 1 -d\" \" | sort | uniq",
......
......@@ -7,9 +7,7 @@ author: >
[Michael Jonathan Fernandes Alves](http://lattes.cnpq.br/0834978726176394)
date: "`r Sys.Date()`"
vignette: >
%\VignetteIndexEntry{
Doses de Nitrogênio e Potássio para Cana-de-açúcar em Diferentes
Sistemas de Manejo no Estado do Paraná}
%\VignetteIndexEntry{Doses de Nitrogênio e Potássio para Cana-de-açúcar em Diferentes Sistemas de Manejo no Estado do Paraná}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment