Skip to content

Commit

Permalink
Get content from v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phgrosjean committed May 27, 2024
1 parent 4702c38 commit 8a6e1bd
Show file tree
Hide file tree
Showing 48 changed files with 2,960 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
52 changes: 52 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check

permissions: read-all

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: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v4

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

- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
50 changes: 50 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
release:
types: [published]
workflow_dispatch:

name: pkgdown

permissions: read-all

jobs:
pkgdown:
runs-on: ubuntu-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v4

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

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs
42 changes: 37 additions & 5 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,23 +1,55 @@
Package: learnitgrid
Type: Package
Version: 0.1.0
Version: 0.7.0
Title: Manage Rubrics or Assessment Grids for GitHub Repositories
Description: Create and manage semi-automatically rubrics to assess GitHub
projects (R scripts, R Markdown or Quarto files). Create directed projects
where students have to complete documents and submit them to GitHub
(classroom) so that they are evaluated using the rubric (or assessment grid).
Authors@R: c(person("Philippe", "Grosjean", role = c("aut", "cre"),
Authors@R: c(
person("Philippe", "Grosjean", role = c("aut", "cre"),
email = "[email protected]",
comment = c(ORCID = "0000-0002-2694-9471")))
comment = c(ORCID = "0000-0002-2694-9471")),
person("Guyliann", "Engels", role = "aut",
email = "[email protected]",
comment = c(ORCID = "0000-0001-9514-1014")))
Maintainer: Philippe Grosjean <[email protected]>
Depends:
R (>= 4.2.0)
Suggests:
Imports:
data.io,
chart,
collapse,
diffr,
DT,
flashClust,
fs,
ggplot2,
gh,
glue,
highr,
htmlwidgets,
lubridate,
parsermd,
shiny,
shinycssloaders,
shinydashboard,
stats,
stringdist,
svMisc,
tibble
Suggests:
knitr,
rmarkdown,
spelling,
testthat (>= 3.0.0)

Enhances:
learnitdown
Remotes:
SciViews/chart,
SciViews/data.io,
SciViews/svMisc,
learnitr/learnitdown
License: MIT + file LICENSE
URL: https://github.com/learnitr/learnitgrid, https://learnitr.github.io/learnitgrid/
BugReports: https://github.com/learnitr/learnitgrid/issues
Expand Down
62 changes: 62 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,2 +1,64 @@
# Generated by roxygen2: do not edit by hand

export(check_grids)
export(chunk_labels)
export(correct_rmd)
export(create_context)
export(dir_path_check)
export(dir_path_create)
export(file_path_check)
export(get_git_stats)
export(link_to_www)
export(populate_table)
export(www_relative)
importFrom(DT,JS)
importFrom(DT,dataTableOutput)
importFrom(DT,datatable)
importFrom(DT,formatStyle)
importFrom(DT,renderDataTable)
importFrom(DT,styleEqual)
importFrom(chart,chart)
importFrom(collapse,GRP)
importFrom(collapse,fcumsum)
importFrom(collapse,roworder)
importFrom(data.io,read)
importFrom(data.io,write)
importFrom(flashClust,hclust)
importFrom(fs,dir_create)
importFrom(fs,dir_exists)
importFrom(fs,dir_ls)
importFrom(fs,file_exists)
importFrom(fs,link_create)
importFrom(fs,link_delete)
importFrom(fs,link_exists)
importFrom(fs,path)
importFrom(ggplot2,geom_histogram)
importFrom(ggplot2,geom_point)
importFrom(ggplot2,geom_step)
importFrom(ggplot2,geom_vline)
importFrom(ggplot2,labs)
importFrom(ggplot2,theme)
importFrom(ggplot2,xlim)
importFrom(gh,gh)
importFrom(gh,gh_whoami)
importFrom(glue,glue)
importFrom(lubridate,with_tz)
importFrom(lubridate,ymd_hms)
importFrom(parsermd,as_document)
importFrom(parsermd,by_section)
importFrom(parsermd,has_label)
importFrom(parsermd,has_type)
importFrom(parsermd,parse_rmd)
importFrom(parsermd,rmd_select)
importFrom(shiny,runApp)
importFrom(shiny,shinyApp)
importFrom(shinycssloaders,withSpinner)
importFrom(shinydashboard,dashboardBody)
importFrom(shinydashboard,dashboardHeader)
importFrom(shinydashboard,dashboardPage)
importFrom(shinydashboard,dashboardSidebar)
importFrom(stats,fivenum)
importFrom(stringdist,stringsim)
importFrom(svMisc,aka)
importFrom(tibble,as_tibble)
importFrom(tibble,tibble)
24 changes: 22 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
# learnitgrid 0.1.0
# learnitgrid 0.7.0

- Initial version of the package.
- Repo transferred to learnitr.

# learnitgrid 0.6.0

- Renamed (from shiny_assess) and partly refactored.

- Second tab by grid added.

- Use a correction repository and check R objects (to be finished).

# learnitgrid 0.5.1

- Allow for bonus points (max = 0 and score higher than max in this case).

# learnitgrid 0.5.0

- Adjustment for teams + use of _corr.Rmd version.

# learnitgrid 0.4.0

- Versions 0.1.0 - 0.4.0: initial concept and code.
Loading

0 comments on commit 8a6e1bd

Please sign in to comment.