Skip to content

winputall

Variable Input Allocation Among Crops

v1.0.1 · Jun 7, 2024 · GPL (>= 3)

Description

Using a time-varying random parameters model developed in Koutchade et al., (2024) <https://hal.science/hal-04318163>, this package allows allocating variable input costs among crops produced by farmers based on panel data including information on input expenditure aggregated at the farm level and acreage shares. It also considers in fairly way the weighting data and can allow integrating time-varying and time-constant control variables.

Downloads

CRAN

552

Last 30 days

6888th

1.7K

Last 90 days

6.5K

Last year

Trend: -1.4% (30d vs prior 30d)

r2u CRAN

24

Last 30 days

113

Last 90 days

395

Last year

Trend: -40% (30d vs prior 30d)

autoCRAN

6

Last 7 days

22

Last 30 days

2

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 57.6Mb
  sub-directories of 1Mb or more:
    libs  57.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 58.4Mb
  sub-directories of 1Mb or more:
    libs  58.0Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/winputall.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 57.6Mb
  sub-directories of 1Mb or more:
    libs  57.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 58.4Mb
  sub-directories of 1Mb or more:
    libs  58.0Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 57.6Mb
  sub-directories of 1Mb or more:
    libs  57.2Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 58.4Mb
  sub-directories of 1Mb or more:
    libs  58.0Mb

Code intelligence has not been computed for this package yet.

Code

Structure

Lines of code

5,518

Files

40

Compiled share

60.5%

Has compiled src

Yes

Language breakdown

R 1,923 (34.8%)C/C++/src 3,337 (60.5%)Tests 18 (0.3%)Docs 240 (4.3%)

API

Exported functions

2

Internal functions

14

Recent export changes

v1.0.1+2 rp_model_fun, rpinpallEst

Testing & CI

Has tests

Yes

Test-to-code ratio

0.01

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

22.2%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.4.0

System requirements

1

C++ standard

C++17

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

1

First release

2024-06-07

Latest release

2024-06-07

Avg cadence

Cold removal rate

Dep drift

0

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies dplyr future future.apply ks LearnBayes MASS Matrix matrixcalc matrixStats plm Rcpp (>= 0.12.0) RcppParallel rstan rstantools winputall

Version History

1 tracked
new 1.0.1 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Jun 7, 2024. Releases before tracking aren’t shown.