Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
^.*\.Rproj$
^\.Rproj\.user$
^LICENSE\.md$
Tests_*
^\.github$
^README\.Rmd$
14 changes: 14 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Declare files that will always have CRLF line endings on checkout.
*.Rd text eol=lf
*.R text eol=lf
*.Rmd text eol=lf
*.md text eol=lf
NAMESPACE text eol=lf
DESCRIPTION text eol=lf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
48 changes: 48 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
on:
push:
branches:
- main
- master

name: pkgdown

jobs:
pkgdown:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2

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

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

- name: Query dependencies
run: |
install.packages('remotes')
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
shell: Rscript {0}

- name: Restore R package cache
uses: actions/cache@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-

- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
install.packages("pkgdown", type = "binary")
shell: Rscript {0}

- name: Install package
run: R CMD INSTALL .

- name: Deploy package
run: |
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
.Rhistory
.RData
.Ruserdata
Tests_*
98 changes: 0 additions & 98 deletions ChangeLog

This file was deleted.

48 changes: 38 additions & 10 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,16 +1,44 @@
Package: nlstools
Version: 1.0-3
Title: Tools for Nonlinear Regression Analysis
Authors@R: c(person("Florent", "Baty", role = "aut", email = "florent.baty@gmail.com"),
person("Marie-Laure", "Delignette-Muller", role = "aut", email = "marielaure.delignettemuller@vetagro-sup.fr"),
person("Sandrine", "Charles", role = "ctb"),
person("Jean-Pierre", "Flandrois", role = "ctb"),
person("Christian", "Ritz", role = "ctb"),
person("Aurelie", "Siberchicot", role = c("aut", "cre"), email = "aurelie.siberchicot@univ-lyon1.fr"))
Imports: graphics, grDevices, stats
Description: Several tools for assessing the quality of fit of a gaussian nonlinear model are provided.
Version: 1.0-3
Authors@R:
c(person(given = "Florent",
family = "Baty",
role = "aut",
email = "florent.baty@gmail.com"),
person(given = "Marie-Laure",
family = "Delignette-Muller",
role = "aut",
email = "marielaure.delignettemuller@vetagro-sup.fr"),
person(given = "Sandrine",
family = "Charles",
role = "ctb"),
person(given = "Jean-Pierre",
family = "Flandrois",
role = "ctb"),
person(given = "Christian",
family = "Ritz",
role = "ctb"),
person(given = "Aurelie",
family = "Siberchicot",
role = c("aut", "cre"),
email = "aurelie.siberchicot@univ-lyon1.fr"))
Description: Several tools for assessing the quality of fit of a
gaussian nonlinear model are provided.
License: GPL-3
URL: https://github.com/aursiber/nlstools
BugReports: https://github.com/aursiber/nlstools/issues
License: GPL-3
Imports:
boot,
graphics,
grDevices,
stats,
utils
Suggests:
knitr,
rmarkdown
VignetteBuilder:
knitr
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.1
Loading